build: use vars.***
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,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"
|
||||
|
Reference in New Issue
Block a user