diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 35e88c2..08b5d2e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,6 +21,11 @@ jobs: - name: Install dependencies run: npm install + - name: Configure git + run: | + git config --global user.name 'github-actions' + git config --global user.email 'github-actions@github.com' + - name: Build the project run: npm run build @@ -29,4 +34,3 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./public - keep_files: true # Prevents deletion of .git folder