Update intro_slides.md fixed dates #13
This file contains 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: Build & Publish Presentation PDF with reveal-md | |
on: | |
push: | |
paths: | |
- 'intro_slides.md' | |
jobs: | |
release: | |
name: Build & Publish | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies & Build Presentation | |
run: sudo npm install -g reveal-md | |
# run: sudo npm install -g reveal-md puppeteer --unsafe-perm | |
# - name: Build presentation pdf slides | |
# run: DEBUG=reveal-md reveal-md intro_slides.md --print intro_slides.pdf | |
# - name: Publish pdf slides | |
# run: | | |
# git config user.name github-actions | |
# git config user.email [email protected] | |
# git add . | |
# git commit -m "rebuilt slide pdf" | |
# git push | |
- name: Build presentation slides HTML | |
run: DEBUG=reveal-md reveal-md intro_slides.md --static intro_slides | |
# Push the site's HTML to github-pages | |
- name: GitHub Pages action | |
uses: peaceiris/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./intro_slides |