Changed to different action to commit
This commit is contained in:
parent
511fa91193
commit
dca7c9d2b9
|
@ -32,14 +32,9 @@ jobs:
|
|||
- name: Merge JSON files
|
||||
run: node .github/workflows/merge.js
|
||||
|
||||
- name: Commit files
|
||||
run: |
|
||||
git config --local user.email ${{ secrets.USER_EMAIL }}
|
||||
git config --local user.name "${{ secrets.USER_NAME }}
|
||||
git commit -a -m "Add samples.json"
|
||||
- name: Commit to gh-pages branch
|
||||
uses: ad-m/github-push-action@master
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
commit_message: 'Update samples.json'
|
||||
branch: 'gh-pages'
|
||||
force: true
|
||||
file_pattern: samples.json
|
Loading…
Reference in New Issue