build: add debugger for variables
Some checks failed
Build and Deploy to MinIO / build-and-deploy (push) Failing after 43s

This commit is contained in:
2025-09-05 22:52:29 +02:00
parent 9e8d523de1
commit 7577854064

View File

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