From 5d81ca35c5ca4edb357ca8e747c4043101d853e0 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sat, 6 Sep 2025 05:52:04 +0200 Subject: [PATCH] build: try other syntax --- .gitea/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 99e0ac7..24d3b08 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -33,7 +33,7 @@ jobs: - name: Setup content directory for year branches env: - BRANCH_NAME: ${{ vars.GITEA_REF_NAME }} + BRANCH_NAME: ${{ gitea.ref_name }} if: gitea.ref != 'refs/heads/master' run: | echo "Branch name: $BRANCH_NAME" @@ -71,7 +71,7 @@ jobs: - name: Deploy to MinIO - Year branches env: MINIO_BUCKET: ${{ secrets.MINIO_BUCKET }} - BRANCH_NAME: ${{ vars.GITEA_REF_NAME }} + BRANCH_NAME: ${{ gitea.ref_name }} if: gitea.ref != 'refs/heads/master' run: | mc mirror --overwrite --remove ./output/ storage/$MINIO_BUCKET/enseignements/${BRANCH_NAME}/