Update .gitea/workflows/production.yaml #63
@@ -28,8 +28,13 @@ jobs:
|
||||
|
||||
- name: Trigger deployment workflow
|
||||
run: |
|
||||
curl -X POST \
|
||||
-H "Authorization: token ${{ secrets.REGISTRY_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"ref":"main"}' \
|
||||
https://gitea.psi.ch/api/v1/repos/bb_if_produktiv/deployment/actions/workflows/deployProduction.yml/dispatches
|
||||
curl -X POST \
|
||||
-H "Authorization: token ${{ secrets.REGISTRY_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"ref": "main",
|
||||
"inputs": {
|
||||
"psitrail_version": "${{ github.run_number }}"
|
||||
}
|
||||
}' \
|
||||
https://gitea.psi.ch/api/v1/repos/bb_if_produktiv/deployment/actions/workflows/deployProduction.yml/dispatches
|
||||
Reference in new issue
Block a user