build: use vars.***
Some checks failed
Build and Deploy to MinIO / build-and-deploy (push) Failing after 43s

This commit is contained in:
2025-09-05 22:55:58 +02:00
parent 7577854064
commit ec8d4d23b7

View File

@@ -34,10 +34,7 @@ jobs:
- name: Setup content directory for year branches
if: gitea.ref != 'refs/heads/master'
run: |
echo "GITEA_REF: $GITEA_REF"
echo "GITEA_REF_NAME: $GITEA_REF_NAME"
echo "GITEA_HEAD_REF: $GITEA_HEAD_REF"
BRANCH_NAME=${GITEA_REF#refs/heads/}
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"