Skip to content

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

Fix(actions): Init git user

Jonathan ARNAULT296a3db35f6f
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index cbaa537d..c3d21cb2 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -18,6 +18,9 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
+ env:
+ PRODUCTION_REMOTE: https://git:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
+
steps:
- name: 📥 Checkout repo
uses: actions/checkout@v4
@@ -30,6 +33,7 @@ jobs:
- name: ⚙️ Setup git
run: |
+ git remote set-url origin https://git:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}
git config --global user.email [email protected]
git config --global user.name github-actions-bot