Skip to content

Commit

Permalink
Update quarto-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfromearth authored Nov 4, 2024
1 parent fa27efc commit 8dd7a0c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/quarto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,18 @@ jobs:
# To install LaTeX to build PDF book
tinytex: true

# we now use semantic versioning for the action
# you could also use `[email protected]`
# or the git sha directly `...@5d5dbebd87f7b9358c403c7a66651fa92b310105`
- name: "Install Conda environment"
uses: "mamba-org/provision-with-micromamba@main"
uses: mamba-org/setup-micromamba@v1
with:
cache-env: true
environment-file: environment.yml
create-args: >- # beware the >- instead of |, we don't split on newlines but on spaces
python=3.10
numpy
# now called cache-environment
cache-environment: true

- name: Publish to GitHub Pages (and render)
uses: quarto-dev/quarto-actions/publish@v2
Expand Down

0 comments on commit 8dd7a0c

Please sign in to comment.