From fc9b1aeeca75b42db41ea76ca33fed3416823efe Mon Sep 17 00:00:00 2001 From: pombas_n Date: Wed, 16 Sep 2026 13:45:10 +0200 Subject: [PATCH] Update .gitea/workflows/production.yaml --- .gitea/workflows/production.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/production.yaml b/.gitea/workflows/production.yaml index 0500aef..abf3c44 100644 --- a/.gitea/workflows/production.yaml +++ b/.gitea/workflows/production.yaml @@ -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 \ No newline at end of file + 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 \ No newline at end of file -- 2.54.1