Skip to content

Commit

Permalink
Merge pull request #50 from marmelab/fix/deploy-doc
Browse files Browse the repository at this point in the history
Fix(ops): Update cross deploy documentation
  • Loading branch information
jonathan-marmelab authored Aug 9, 2024
2 parents 54cc65f + 1b69457 commit 1ddf538
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions doc/github-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,21 @@ POSTMARK_WEBHOOK_AUTHORIZED_IPS: List of IPs (comma separated) authorized to sen
## Deploying to Another Repository

If you want to deploy the static website to another repository, you must first
If you want to deploy the static website to another repository, you must first generete a personal access token [in the GitHub settings](https://github.com/settings/tokens?type=beta):

- Give a name to the token
- Set token expiration
- Select `Only select repositories`, and select the target repository
- On the repository permissions, select "Write Access" under "Contents"

Then you can configure the following GitHub action variable on you repository:
```bash
DEPLOY_REPOSITORY=<org>/<repository>
```

# A personal access token can be created at https://github.com/settings/tokens?type=beta
And finally, you must create the following GitHub Action secret:

```bash
DEPLOY_TOKEN=<personal_access_token>
```

Expand Down

0 comments on commit 1ddf538

Please sign in to comment.