From aeed9c7dc9317b900c1ccd016e216cd71f5b65da Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Tue, 14 Oct 2025 17:15:07 +0200 Subject: [PATCH] maybe like this? --- .gitea/workflows/backend_build-deploy-stg.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/backend_build-deploy-stg.yaml b/.gitea/workflows/backend_build-deploy-stg.yaml index 058fc35..854e041 100644 --- a/.gitea/workflows/backend_build-deploy-stg.yaml +++ b/.gitea/workflows/backend_build-deploy-stg.yaml @@ -29,11 +29,14 @@ jobs: - name: Login run: | ./tea login add --url git.kluster.moll.re --name bot --token ${{ secrets.GITEA_TOKEN }} + ./tea login default - name: Post comment run: | - ./tea pr comment ${{ github.event.number }} "The backend has been deployed to staging with url https://pr-${{ github.event.number }}.anyway-stg.anydev.info. Check the deployment status in ArgoCD: + ./tea comment --repo anydev/anyway ${{ github.event.number }} """ + The backend has been deployed to staging with url https://pr-${{ github.event.number }}.anyway-stg.anydev.info. Check the deployment status in ArgoCD: - [![App Status](https://argocd.kluster.moll.re/api/badge?name=anydev-anyway-backend-stg-pr-${{ github.event.number }}&revision=true&showAppName=true)](https://argocd.kluster.moll.re/applications/anydev-anyway-backend-stg-pr-${{ github.event.number }})" + [![App Status](https://argocd.kluster.moll.re/api/badge?name=anydev-anyway-backend-stg-pr-${{ github.event.number }}&revision=true&showAppName=true)](https://argocd.kluster.moll.re/applications/anydev-anyway-backend-stg-pr-${{ github.event.number }}) + """ env: GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} GITEA_BASE_URL: ${{ secrets.GITEA_BASE_URL }}