Skip to content

Commit

Permalink
Create publish-gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shinsuke-mat authored Jul 8, 2024
1 parent c1f7a06 commit 04e984d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -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: ./

0 comments on commit 04e984d

Please sign in to comment.