This commit is contained in:
Nebel 2023-01-17 19:11:57 +09:00
parent 5c52d1c4ff
commit 0d345f7c3a
3 changed files with 7 additions and 2 deletions

View file

@ -11,8 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npx @marp-team/marp-cli README.md -o pages/index.html
- run: make build
- uses: actions/upload-pages-artifact@v1
with:
path: pages
path: dist
- uses: actions/deploy-pages@v1

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
dist

4
Makefile Normal file
View file

@ -0,0 +1,4 @@
.PHONY: build
build:
npx @marp-team/marp-cli README.md -o dist/index.html
rsync -av assets/ dist/assets/