Replace 'Install generated files' step with 'Copy files' to remove old files before copying new ones in demo workflow

This commit is contained in:
Edgar P. Burkhart 2025-02-09 19:10:35 +01:00
parent 30855b3d0e
commit 2ede22e8e6
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

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