Skip to content

Commit

Permalink
use a push action
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Jan 18, 2024
1 parent 10c5934 commit 9e1d4aa
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@ jobs:
key: nostr-geotags-docs
fail-on-cache-miss: true

- name: Push to gh-pages branch
run: git commit -am "Update Docs @${{ hashFiles('docs') }} " && git push origin gh-pages
- name: Configure and Commit
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -am "Update Docs @${{ hashFiles('docs') }}"
- name: Push
uses: ad-m/github-push-action@master
with:
github_token: ${{ env.TOKEN }}
force: true
branch: gh-pages

0 comments on commit 9e1d4aa

Please sign in to comment.