Skip to content

Commit

Permalink
Add notes about tokens used in publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sajith committed Apr 9, 2024
1 parent d0a0345 commit cebecd0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,16 @@ jobs:
uses: quarto-dev/quarto-actions/publish@v2
with:
target: netlify
# NETLIFY_AUTH_TOKEN is a personal access token generated at
# https://app.netlify.com/user/applications, and it expires
# after an interval.
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}

# Publish on Quarto.pub (https://x-cite.quarto.pub/).
- name: Render and Publish on quarto.pub
uses: quarto-dev/quarto-actions/publish@v2
with:
target: quarto-pub
# QUARTO_PUB_AUTH_TOKEN is generated at
# https://quartopub.com/profile.
QUARTO_PUB_AUTH_TOKEN: ${{ secrets.QUARTO_PUB_AUTH_TOKEN }}

0 comments on commit cebecd0

Please sign in to comment.