peaceiris / actions-gh-pages

GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.
https://github.com/marketplace/actions/github-pages-action
MIT License
4.65k stars 368 forks source link

support: Action failed with "The process '/usr/bin/git' failed with exit code 1" #998

Open kvabapo opened 1 year ago

kvabapo commented 1 year ago

Checklist

Describe your question

Were running multiple github actions on our repo every hour i.e. 10 jobs run every hour.

Were facing this error

careos-frontend@1c43450 2566-10-02 10-41-21

it says we need to "git pull" but I can't find that option on the README page. Can you help with this error?

Relevant links

YAML workflow:
 - name: Deploy
        if: always()
        uses: peaceiris/actions-gh-pages@v3
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          publish_dir: ./apps/qa/reports
          destination_dir: ./automation/${{ github.run_id }}

Relevant log output

No response

Additional context.

No response

peaceiris commented 1 year ago

You can use the concurrency.group to run the jobs sequentially.

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}

Please take a look at the README.md for more details.