A full-featured CRM built with React, shadcn/ui, and Supabase.
Fix(ops): Deploy to remote repository was not working
Jonathan ARNAULT1230d1365052
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.ymlindex 50645e2f..d6677a43 100644--- a/.github/workflows/deploy.yml+++ b/.github/workflows/deploy.yml@@ -37,6 +37,14 @@ jobs:node-version: 20cache: npm+ - name: ⚙️ Setup git+ run: |+ 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 config --global user.email [email protected]+ git config --global user.name github-actions-bot+- name: ⚙️ Setup supabaseuses: supabase/setup-cli@v1@@ -62,12 +70,6 @@ jobs:run: npx supabase functions deploy- name: 📡 Deploy GitHub pages- run: |- 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 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' }}+ run: npx gh-pages --remote production -d dist -b ${{ vars.DEPLOY_BRANCH || 'gh-pages' }}env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}