Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mauch authored Jul 30, 2024
1 parent cd3e4ab commit d39ebb6
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ jobs:
shell: bash -l {0}
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
# To install LaTeX to build PDF book
tinytex: true
# uncomment below and fill to pin a version
# version: SPECIFIC-QUARTO-VERSION-HERE

# - name: Create Python environment
# uses: conda-incubator/setup-miniconda@v2
Expand All @@ -24,12 +32,14 @@ jobs:
# channel-priority: true
# activate-environment: quarto-import
# environment-file: _import/environment.yml

- name: Set up Quartow
uses: quarto-dev/quarto-actions/setup@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
tinytex: true
# r-version: 4.2.1
python-version: 3.9

- name: Install dependencies
run: |
python -m pip install quarto nbformat
- name: Render Quarto Project
uses: quarto-dev/quarto-actions/render@v2
Expand All @@ -38,5 +48,7 @@ jobs:
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d39ebb6

Please sign in to comment.