Skip to content

Commit

Permalink
Move env var definition to global scope
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 authored Sep 22, 2024
1 parent ad56b4d commit 3b34785
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
statuses: write
pull-requests: write
deployments: write
env:
QUARTO_JULIA_PROJECT: "@quarto" # this ensures we use the custom version of QuartoNotebookRunner.jl
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v2
Expand All @@ -37,15 +39,10 @@ jobs:

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
env:
QUARTO_JULIA_PROJECT: "@quarto"

- name: Render
uses: quarto-dev/quarto-actions/render@v2
with:
to: html
env:
QUARTO_JULIA_PROJECT: "@quarto"

- name: Deploy Preview to Netlify as preview
id: netlify-deploy
Expand Down

0 comments on commit 3b34785

Please sign in to comment.