Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Fix(ops): Deploy to remote repository was not working

Jonathan ARNAULTebfa8dd2d71c
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 4e545bd5..1ea54e68 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -62,9 +62,9 @@ jobs:
- name: 📡 Deploy GitHub pages
run: |
- echo "Deploying to pages to ${PRODUCTION_REMOTE}"
+ echo "Deploying to pages to $PRODUCTION_REMOTE"
git remote set-url origin https://git:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}
- git remote add production ${PRODUCTION_REMOTE}
+ git remote add production $PRODUCTION_REMOTE
git config --global user.email [email protected]
git config --global user.name github-actions-bot
npx gh-pages --remote production -d dist -b ${{ vars.DEPLOY_BRANCH || 'gh-pages' }}