Skip to content

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

Fix(ops): Deploy to GH pages was not working

Jonathan ARNAULT3b89c970dbea
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 1a33a252..ffff1ba5 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -54,10 +54,10 @@ jobs:
run: npx supabase functions deploy
- name: 📡 Deploy GitHub pages
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
- git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git
+ git remote set-url origin https://git:${{ secrets.GITHUB_TOKEN }}@github.com/marmelab/atomic-crm.git
git config --global user.email [email protected]
git config --global user.name github-actions-bot
npm run ghpages:deploy
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}