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