Skip to content

Commit

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

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

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

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

0 comments on commit dcf384b

Please sign in to comment.