Skip to content

[UPDATE] Enhance GitHub Actions workflow for publishing with Python s… #56

[UPDATE] Enhance GitHub Actions workflow for publishing with Python s…

[UPDATE] Enhance GitHub Actions workflow for publishing with Python s… #56

Workflow file for this run

name: Publish
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install jupyter nbformat
- name: Install Quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: Render and publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages