ci: trigger deployment on merge to main
Trigger deployment / Trigger deployment of doki-theme-gitea to the instance (push) Successful in 3s
Trigger deployment / Trigger deployment of doki-theme-gitea to the instance (push) Successful in 3s
This commit was merged in pull request #1.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
name: Trigger deployment
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
trigger-deployment:
|
||||
name: Trigger deployment of doki-theme-gitea to the instance
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install tea
|
||||
run: curl -sL "https://dl.gitea.com/tea/0.14.1/tea-0.14.1-linux-amd64" -o tea && chmod +x tea
|
||||
- name: Add token
|
||||
run: ./tea login add --url "${{ gitea.server_url }}" --token "${{ secrets.deploy_token }}" --name gitea
|
||||
- name: Trigger with tea
|
||||
run: ./tea actions workflows dispatch --repo "privileged/deployments" --ref main --login "gitea" update-doki-theme-gitea.yaml
|
||||
Reference in New Issue
Block a user