Skip to content

Commit

Permalink
Add environment variables to workflow (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
daffidwilde authored Apr 3, 2024
1 parent df00add commit 5e2cc47
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
steps:
- name: Check out repository
uses: actions/checkout@v3
Expand All @@ -20,12 +21,21 @@ jobs:
with:
python-version: "3.11"
cache: "pip"
- run: |
- name: Build API reference
run: |
python -m pip install ".[docs]"
quartodoc build
python -m quartodoc build
- name: Render and publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PARTY_1_PROJECT: pprl-party-1
PARTY_1_KEY_VERSION: 1
PARTY_2_PROJECT: pprl-party-2
PARTY_2_KEY_VERSION: 1
WORKLOAD_AUTHOR_PROJECT: pprl-party-1
WORKLOAD_AUTHOR_PROJECT_REGION: europe-west2
WORKLOAD_OPERATOR_PROJECT: pprl-party-2
WORKLOAD_OPERATOR_PROJECT_ZONE: europe-west2-c

0 comments on commit 5e2cc47

Please sign in to comment.