Skip to content

Commit

Permalink
Using a different action
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoabernier authored Mar 24, 2024
1 parent c18dc6a commit 3cb240a
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/merge-json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3cb240a

Please sign in to comment.