build: remove $
Some checks failed
Build and Deploy to MinIO / build-and-deploy (push) Failing after 41s
Some checks failed
Build and Deploy to MinIO / build-and-deploy (push) Failing after 41s
This commit is contained in:
@@ -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}/
|
||||
|
Reference in New Issue
Block a user