github-and-codesandbox-guide/.github/workflows/github-pages.yml

19 lines
416 B
YAML
Raw Permalink Normal View History

2020-11-06 15:21:59 +09:00
name: github-pages
on:
push:
branches: [master]
jobs:
main:
2022-08-01 17:41:36 +09:00
permissions:
pages: write
id-token: write
environment: github-pages
2020-11-06 15:21:59 +09:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2022-08-01 17:41:36 +09:00
- run: npx @marp-team/marp-cli README.md -o pages/index.html
- uses: actions/upload-pages-artifact@v1
with:
path: pages
- uses: actions/deploy-pages@v1