ci: trigger deployment on merge to main #1

Merged
codinget merged 1 commits from ci/deploy into main 2026-05-23 01:55:52 +02:00
+17
View File
@@ -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