Skip to content

Commit 0a60202

Browse files
committed
Add quarto render to website deploy
1 parent 88ebb4c commit 0a60202

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/deploy_apps.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,18 @@ jobs:
2727
- name: Deploy website
2828
run: |
2929
ssh app sh <<EOF
30+
3031
cd FAIRSenDD
31-
git pull
32+
git fetch
33+
git checkout ${{ github.sha }}
34+
3235
cd website
33-
sh run.sh
36+
# render needs to be outside of docker build because docker is called itself
37+
rm -rf content/out.zarr || :
38+
ls content/*.qmd | xargs -i -P 4 quarto render {}
39+
40+
cd ../infrastructure/app
41+
docker compose build
42+
docker compose push
43+
docker compose up --detach
3444
EOF

0 commit comments

Comments
 (0)