From 9e8d523de192204fd6cbf516c59e2c16edaa6c53 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Fri, 5 Sep 2025 22:47:43 +0200 Subject: [PATCH] build: add debugger --- .gitea/workflows/deploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index af01d8c..189e5de 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -35,11 +35,11 @@ jobs: if: gitea.ref != 'refs/heads/master' run: | BRANCH_NAME=${GITEA_REF_NAME} - if [ ! -L content ]; then - echo $BRANCH_NAME - rm -rf content - git clone https://git.opytex.org/Cours/${BRANCH_NAME}.git content - fi + 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" + rm -rf content + git clone https://git.opytex.org/Cours/${BRANCH_NAME}.git content - name: Build site run: |