Replace 'Install generated files' step with 'Copy files' to remove old files before copying new ones in demo workflow
This commit is contained in:
parent
30855b3d0e
commit
2ede22e8e6
1 changed files with 4 additions and 2 deletions
|
@ -14,5 +14,7 @@ jobs:
|
|||
run: ./.env/bin/pip install mystmd
|
||||
- name: Build static HTML
|
||||
run: ./.env/bin/myst build --html
|
||||
- name: Install generated files
|
||||
run: install -d _build/html /data/srv/forgejo-runner/cours4.0
|
||||
- name: Copy files
|
||||
run: |
|
||||
rm -rf /data/srv/forgejo-runner/cours4.0
|
||||
cp -r _build/html /data/srv/forgejo-runner/cours4.0
|
Loading…
Add table
Add a link
Reference in a new issue