Merge pull request #111 from rizinorg/dev #179
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: Publish to GitHub Pages | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Quarto and render | |
uses: pommevilla/quarto-render@main | |
- name: Deploy | |
if: github.event_name == 'push' | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs | |
cname: book.rizin.re | |
- name: Render to PDF and ePub | |
shell: bash | |
run: | | |
quarto render --to pdf | |
quarto render --to epub |