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
|
shell: /bin/bash
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ env.github_ref_name }}" == "master" ]]; then
|
if [[ "${{ env.github_ref_name }}" == "master" ]]; then
|
||||||
|
echo "Using master config"
|
||||||
echo -n "https://etoiledebethleem.fr" > /base_url.txt
|
echo -n "https://etoiledebethleem.fr" > /base_url.txt
|
||||||
fi
|
fi
|
||||||
if [[ "${{ env.github_ref_name }}" == "develop" ]]; then
|
if [[ "${{ env.github_ref_name }}" == "develop" ]]; then
|
||||||
|
echo "Using develop config"
|
||||||
echo -n "https://preview.etoiledebethleem.fr" > /base_url.txt
|
echo -n "https://preview.etoiledebethleem.fr" > /base_url.txt
|
||||||
fi
|
fi
|
||||||
|
ls /
|
||||||
|
cat /base_url.txt
|
||||||
- name: Install rsync
|
- name: Install rsync
|
||||||
run: apt update && apt install -y rsync
|
run: apt update && apt install -y rsync
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- run: ls -la
|
|
||||||
- name: Setup Hugo
|
- name: Setup Hugo
|
||||||
env:
|
env:
|
||||||
HUGO_RELEASE_TYPE: extended
|
HUGO_RELEASE_TYPE: extended
|
||||||
|
|
Loading…
Reference in a new issue