build: fix variable syntax
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:
@@ -32,9 +32,10 @@ jobs:
|
|||||||
pip install --no-cache-dir -r requirements.txt
|
pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
- name: Setup content directory for year branches
|
- name: Setup content directory for year branches
|
||||||
|
env:
|
||||||
|
BRANCH_NAME: $${{ vars.GITEA_REF_NAME}}
|
||||||
if: gitea.ref != 'refs/heads/master'
|
if: gitea.ref != 'refs/heads/master'
|
||||||
run: |
|
run: |
|
||||||
BRANCH_NAME=${{vars.GITEA_REF_NAME}}
|
|
||||||
echo "Branch name: $BRANCH_NAME"
|
echo "Branch name: $BRANCH_NAME"
|
||||||
echo "Testing URL: https://git.opytex.org/Cours/${BRANCH_NAME}.git"
|
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"
|
curl -I "https://git.opytex.org/Cours/${BRANCH_NAME}.git" || echo "URL not accessible"
|
||||||
|
|||||||
Reference in New Issue
Block a user