ci: try cross-repo and with inputs

This commit is contained in:
2026-05-22 23:24:29 +00:00
parent 22ac1eace8
commit 6a0725e06e
+12 -2
View File
@@ -12,11 +12,21 @@ jobs:
runs-on: ubuntu-latest
permissions:
actions: write
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 "${{ gitea.token }}" --name gitea
- name: Trigger with tea
run: ./tea actions workflows dispatch --repo "${{ gitea.repository }}" --ref main --login "gitea" test-inputs.yaml
run: ./tea actions workflows dispatch --repo "${{ gitea.repository }}" --ref main --login "gitea" test-inputs.yaml --input "restart=${{ inputs.restart }}"
test-on-another:
runs-on: ubuntu-latest
permissions:
actions: write
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 "${{ gitea.token }}" --name gitea
- name: Trigger with tea
run: ./tea actions workflows dispatch --repo "privileged/deployments" --ref main --login "gitea" update-doki-theme-gitea.yaml