A full-featured CRM built with React, shadcn/ui, and Supabase.
Fix(ops): Deploy to remote repository was not working
Jonathan ARNAULTe3a86b83c2d5
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.ymlindex 5df6dd0b..8003d87b 100644--- a/.github/workflows/deploy.yml+++ b/.github/workflows/deploy.yml@@ -44,8 +44,6 @@ jobs:git remote add production $PRODUCTION_REMOTEgit config --global user.email [email protected]git config --global user.name github-actions-bot- echo Configured remotes:- git remote -v- name: ⚙️ Setup supabaseuses: supabase/setup-cli@v1@@ -74,4 +72,4 @@ jobs:- name: 📡 Deploy GitHub pagesrun: npx gh-pages --remote production -d dist -b ${{ vars.DEPLOY_BRANCH || 'gh-pages' }}env:- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN || secrets.GITHUB_TOKEN }}diff --git a/doc/github-actions.md b/doc/github-actions.mdindex 800c57c8..c53f0728 100644--- a/doc/github-actions.md+++ b/doc/github-actions.md@@ -20,13 +20,14 @@ POSTMARK_WEBHOOK_AUTHORIZED_IPS: List of IPs (comma separated) authorized to sen## Deploying to Another Repository-Warning: The deploy repository MUST be in the same GitHub `org` as the `atomic-crm` repository.-If you want to deploy the static website to another repository, you must firstThen you can configure the following GitHub action variable on you repository:```bashDEPLOY_REPOSITORY=<org>/<repository>++# A personal access token can be created at https://github.com/settings/tokens?type=beta+DEPLOY_TOKEN=<personal_access_token>```You can also configure the deploy branch using