build: fix variable syntax
Some checks failed
Build and Deploy to MinIO / build-and-deploy (push) Failing after 43s

This commit is contained in:
2025-09-06 05:44:06 +02:00
parent ec8d4d23b7
commit 3c9feb0cf5

View File

@@ -32,9 +32,10 @@ jobs:
pip install --no-cache-dir -r requirements.txt
- name: Setup content directory for year branches
env:
BRANCH_NAME: $${{ vars.GITEA_REF_NAME}}
if: gitea.ref != 'refs/heads/master'
run: |
BRANCH_NAME=${{vars.GITEA_REF_NAME}}
echo "Branch name: $BRANCH_NAME"
echo "Testing URL: https://git.opytex.org/Cours/${BRANCH_NAME}.git"
curl -I "https://git.opytex.org/Cours/${BRANCH_NAME}.git" || echo "URL not accessible"