diff --git a/.github/workflows/publish-gh-pages.yml b/.github/workflows/publish-gh-pages.yml new file mode 100644 index 0000000..98a1ed7 --- /dev/null +++ b/.github/workflows/publish-gh-pages.yml @@ -0,0 +1,21 @@ +name: Publish GitHub Pages +on: + push: + branches: + - main + +jobs: + publish: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v3 + + - name: Convert Markdown into HTML and PDF + uses: KoharaKazuya/marp-cli-action@v3 + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./