Export and publish slides #27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Export and publish slides" | |
| on: | |
| # Only add manual trigger for now | |
| workflow_dispatch: | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Convert markdown to PDF | |
| uses: KoharaKazuya/marp-cli-action@v3 | |
| # Potentially add config file to repo or extra options? | |
| with: | |
| config-file: ./.marprc-ci.yml | |
| # - name: Store output PDF | |
| # uses: actions/upload-artifact@v4 | |
| # with: | |
| # name: slides | |
| # path: ./slides | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./slides_test |