Infoboxen vereinheitlicht #478
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
# Adapted from https://github.com/quarto-dev/quarto-actions/blob/main/examples/quarto-book-gh-pages.yaml | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
# to be able to trigger a manual build | |
workflow_dispatch: | |
name: Render and deploy Book | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Quarto | |
uses: quarto-dev/quarto-actions/install-quarto@v1 | |
#with: | |
# To install LaTeX to build PDF book | |
# tinytex: true | |
# uncomment below and fill to pin a version | |
# version: 0.9.105 | |
# Add installation of any computing dependency you may need, usually either python and Jupyter or R | |
# More specific examples will be shared on quarto-dev/quarto-actions project | |
- name: Render book to HTML and DOCX | |
run: make html && make docx | |
- name: Deploy 🚀 | |
if: github.event_name != 'pull_request' | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: _book |