CalculusWithJuliaNotes.jl/.github/workflows/publish.yml

36 lines
793 B
YAML
Raw Normal View History

2022-07-24 22:38:24 +02:00
on:
2022-08-26 20:23:03 +02:00
workflow_dispatch:
2022-07-24 22:38:24 +02:00
push:
branches: main
name: Quarto Publish
jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
2022-08-26 20:15:09 +02:00
- name: Install Python and Dependencies
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'
- run: pip install jupyter
2022-08-26 20:26:48 +02:00
- run: pip install -r requirements.txt
2022-08-26 20:15:09 +02:00
2022-07-24 22:38:24 +02:00
- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
2022-08-26 20:15:09 +02:00
render: false
2022-07-24 22:54:36 +02:00
path: quarto/
2022-07-24 22:38:24 +02:00
env:
2022-08-26 20:23:03 +02:00
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}