Skip to content

Commit

Permalink
Merge pull request #1099 from hutch3232/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
cderv authored May 21, 2024
2 parents 9c72f0c + db8ccf1 commit 8d95285
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions docs/publishing/ci.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,12 @@ If you have multiple publishing targets saved within `_publish.yml` then the `--

You can specify publishing credentials either using environment variables or via command line parameters. The following environment variables are recognized for various services:

| Service | Variables |
|-----------------|----------------------------------------|
| Quarto Pub | `QUARTO_PUB_AUTH_TOKEN` |
| Netlify | `NETLIFY_AUTH_TOKEN` |
| Posit Connect | `CONNECT_SERVER` and `CONNECT_API_KEY` |
| Service | Variables |
|-----------------|---------------------------------------------------------------------------|
| Quarto Pub | `QUARTO_PUB_AUTH_TOKEN` |
| Netlify | `NETLIFY_AUTH_TOKEN` |
| Posit Connect | `CONNECT_SERVER` and `CONNECT_API_KEY` |
| Confluence | `CONFLUENCE_AUTH_TOKEN`, `CONFLUENCE_USER_EMAIL`, and `CONFLUENCE_DOMAIN` |

Set these environment variables within your script before calling `quarto publish`. For example:

Expand Down Expand Up @@ -183,3 +184,11 @@ export CONNECT_SERVER=https://connect.example.com/
export CONNECT_API_KEY=7C0947A852D8
quarto publish connect --id DDA36416-F950-4647-815C-01A24233E294
```

```{.bash filename="Terminal"}
# render and publish to Confluence based on _publish.yml
export CONFLUENCE_AUTH_TOKEN=7C0947A852D8
export [email protected]
export CONFLUENCE_DOMAIN=https://domain.atlassian.net/
quarto publish confluence --no-browser --no-prompt
```

0 comments on commit 8d95285

Please sign in to comment.