ci: base URL fix

This commit is contained in:
Matthieu Bessat 2024-03-18 20:56:51 +01:00
parent 909b57369f
commit eb76e305aa

View file

@ -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