Mention jupyter/docker stacks as an alternative to rocker/binder #196
Workflow file for this run
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 and Deploy | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- "**.md" | |
- _quarto.yml | |
- _extensions/** | |
- "!README.md" | |
pull_request: | |
paths: | |
- "**.md" | |
- _quarto.yml | |
- _extensions/** | |
- "!README.md" | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Quarto | |
uses: quarto-dev/quarto-actions/setup@v2 | |
with: | |
version: "1.3.340" | |
- name: Build | |
run: quarto render | |
- name: Upload artifact | |
if: ${{ github.event_name == 'pull_request' }} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: docs | |
path: docs | |
- name: Deploy to GitHub Pages | |
if: ${{ github.ref == 'refs/heads/master'}} | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs | |
cname: rocker-project.org |