-
Notifications
You must be signed in to change notification settings - Fork 816
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1099 from hutch3232/patch-1
- Loading branch information
Showing
1 changed file
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
||
|
@@ -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 | ||
``` |