Skip to content

Commit

Permalink
Static again
Browse files Browse the repository at this point in the history
  • Loading branch information
TonioGela committed Apr 6, 2024
1 parent dcf384b commit 84f67a6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,21 @@ jobs:
fetch-depth: 0

- name: Copy images folder
run: if [ -d images ]; then cp -R images build/images; fi
run: if [[ -d images ]]; then
mkdir -p static
cp -R images static/images
fi

- name: Build slides.md
uses: docker://marpteam/marp-cli:v3.0.2
with:
args: --output build/index.html slides.md
args: --output static/index.html slides.md
env:
MARP_USER: root:root

- name: Deploy
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
publish_dir: ./static
cname: slides.toniogela.dev

0 comments on commit 84f67a6

Please sign in to comment.