From eb76e305aa238f91837295f92adeede58da94513 Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Mon, 18 Mar 2024 20:56:51 +0100 Subject: [PATCH] ci: base URL fix --- .forgejo/workflows/hugo.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/hugo.yaml b/.forgejo/workflows/hugo.yaml index 5a9e2d5..65d7fbb 100644 --- a/.forgejo/workflows/hugo.yaml +++ b/.forgejo/workflows/hugo.yaml @@ -19,18 +19,21 @@ jobs: shell: /bin/bash run: | if [[ "${{ env.github_ref_name }}" == "master" ]]; then + echo "Using master config" echo -n "https://etoiledebethleem.fr" > /base_url.txt fi if [[ "${{ env.github_ref_name }}" == "develop" ]]; then + echo "Using develop config" echo -n "https://preview.etoiledebethleem.fr" > /base_url.txt fi + ls / + cat /base_url.txt - name: Install rsync run: apt update && apt install -y rsync - uses: actions/checkout@v4 with: submodules: true fetch-depth: 0 - - run: ls -la - name: Setup Hugo env: HUGO_RELEASE_TYPE: extended