build: add debugger
Some checks failed
Build and Deploy to MinIO / build-and-deploy (push) Failing after 42s
Some checks failed
Build and Deploy to MinIO / build-and-deploy (push) Failing after 42s
This commit is contained in:
@@ -35,11 +35,11 @@ jobs:
|
|||||||
if: gitea.ref != 'refs/heads/master'
|
if: gitea.ref != 'refs/heads/master'
|
||||||
run: |
|
run: |
|
||||||
BRANCH_NAME=${GITEA_REF_NAME}
|
BRANCH_NAME=${GITEA_REF_NAME}
|
||||||
if [ ! -L content ]; then
|
echo "Branch name: $BRANCH_NAME"
|
||||||
echo $BRANCH_NAME
|
echo "Testing URL: https://git.opytex.org/Cours/${BRANCH_NAME}.git"
|
||||||
rm -rf content
|
curl -I "https://git.opytex.org/Cours/${BRANCH_NAME}.git" || echo "URL not accessible"
|
||||||
git clone https://git.opytex.org/Cours/${BRANCH_NAME}.git content
|
rm -rf content
|
||||||
fi
|
git clone https://git.opytex.org/Cours/${BRANCH_NAME}.git content
|
||||||
|
|
||||||
- name: Build site
|
- name: Build site
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user