build: remove $
Some checks failed
Build and Deploy to MinIO / build-and-deploy (push) Failing after 41s

This commit is contained in:
2025-09-06 05:46:39 +02:00
parent 3c9feb0cf5
commit 1aede656fa

View File

@@ -33,7 +33,7 @@ jobs:
- name: Setup content directory for year branches
env:
BRANCH_NAME: $${{ vars.GITEA_REF_NAME}}
BRANCH_NAME: ${{ vars.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 }}
if: gitea.ref != 'refs/heads/master'
run: |
BRANCH_NAME=${GITEA_REF#refs/heads/}
mc mirror --overwrite --remove ./output/ storage/$MINIO_BUCKET/enseignements/${BRANCH_NAME}/