This commit is contained in:
parent
797a468ac9
commit
c41b378fdc
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue