From 35394e1a122fc2cd2ff2fe67dda1171885a28a07 Mon Sep 17 00:00:00 2001 From: Jonathan ARNAULT Date: Fri, 9 Aug 2024 10:12:34 +0200 Subject: [PATCH 1/2] Fix(ops): Update cross deploy documentation --- doc/github-actions.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/github-actions.md b/doc/github-actions.md index c53f072..2d7fae1 100644 --- a/doc/github-actions.md +++ b/doc/github-actions.md @@ -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=/ +``` -# A personal access token can be created at https://github.com/settings/tokens?type=beta +And finally, you must creat ethe following GitHub Action secret: + +```bash DEPLOY_TOKEN= ``` From 1b694572a1cfc16a23f054be374c73bc71a054fb Mon Sep 17 00:00:00 2001 From: Jonathan ARNAULT Date: Fri, 9 Aug 2024 10:17:43 +0200 Subject: [PATCH 2/2] Fix(ops): Update cross deploy documentation --- doc/github-actions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/github-actions.md b/doc/github-actions.md index 2d7fae1..39bf9a3 100644 --- a/doc/github-actions.md +++ b/doc/github-actions.md @@ -32,7 +32,7 @@ Then you can configure the following GitHub action variable on you repository: DEPLOY_REPOSITORY=/ ``` -And finally, you must creat ethe following GitHub Action secret: +And finally, you must create the following GitHub Action secret: ```bash DEPLOY_TOKEN=