A full-featured CRM built with React, shadcn/ui, and Supabase.
Fix(ops): Deploy to remote repository was not working
Jonathan ARNAULT73fa3f53962c
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.ymlindex 91fa7509..4e545bd5 100644--- a/.github/workflows/deploy.yml+++ b/.github/workflows/deploy.yml@@ -62,11 +62,12 @@ jobs:- name: 📡 Deploy GitHub pagesrun: |- echo "Deploying to pages to ${DEPLOY_REPO_URL}"+ echo "Deploying to pages to ${PRODUCTION_REMOTE}"git remote set-url origin https://git:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}- git remote set-url production https://git:${{ secrets.GITHUB_TOKEN }}@github.com/${{ vars.DEPLOY_REPOSITORY || github.repository }}+ git remote add production ${PRODUCTION_REMOTE}git config --global user.email [email protected]git config --global user.name github-actions-botnpx gh-pages --remote production -d dist -b ${{ vars.DEPLOY_BRANCH || 'gh-pages' }}env:+ PRODUCTION_REMOTE: https://git:${{ secrets.GITHUB_TOKEN }}@github.com/${{ vars.DEPLOY_REPOSITORY || github.repository }}GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}