35d33f406e
Trigger deployment / Trigger deployment of doki-theme-gitea to the instance (push) Successful in 3s
18 lines
625 B
YAML
18 lines
625 B
YAML
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
|