Using a different action

This commit is contained in:
Hugo Bernier 2024-03-24 15:35:36 -04:00 committed by GitHub
parent c18dc6a350
commit 3cb240ab57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 6 deletions

View File

@ -32,10 +32,12 @@ jobs:
- name: Merge JSON files
run: node .github/workflows/merge.js
- name: Commit samples.json to gh-pages
uses: EndBug/add-and-commit@v9
- name: Commit to gh-pages branch
uses: ad-m/github-push-action@master
with:
default_author: github_actions
cwd: ./gh-pages
add: 'samples.json --force'
push: origin gh-pages --force
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: 'gh-pages'
commit_message: 'Update samples.json'
commit_user_name: ${{ secrets.USER_NAME }}
commit_user_email: ${{ secrets.USER_EMAIL }}
force: true