work on the versionning
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 59s

This commit is contained in:
pierre geeraert
2025-12-02 00:47:42 +00:00
parent c8301113e5
commit 02f16516f1
+7
View File
@@ -52,3 +52,10 @@ jobs:
with:
args: rollout restart deployment django -n django
- run: echo "🍏 This job's status is ${{ job.status }}."
- name: update version in the variable
run: |
curl -X PUT -H "Content-Type: application/json" \
--user ${{ secrets.USERNAME_GITEA }}:${{ secrets.PASSWORD_GITEA }} \
https://gitea.tryton.geeraert.eu/api/v1/repos/pi-ux-ce/${{ github.event.repository.name }}/actions/variables/VERSION \
-d "{\"Value\":\"$next_version\"}"