Skip to content

Commit

Permalink
fix: auto commit and push documentation (#815)
Browse files Browse the repository at this point in the history
* add `push_options: --force` after allowing force push on main

* remove todo comment

---------

Co-authored-by: Tomás Ciccola <[email protected]>
Co-authored-by: Evan Hahn <[email protected]>
  • Loading branch information
3 people committed Sep 19, 2024
1 parent 8c189c3 commit 521adcf
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,12 @@ jobs:
run: |
npm ci
npm run doc
# TODO: Re-enable this.
# See <https://github.com/digidem/comapeo-core/issues/707>.
#
# - name: Push updated markdown docs
# uses: stefanzweifel/git-auto-commit-action@v5
# with:
# commit_message: 'docs: update API docs'
# file_pattern: 'docs/api/md/*'
- name: Push updated markdown docs
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'docs: update API docs'
file_pattern: 'docs/api/md/*'
push_options: --force
- uses: nearform-actions/optic-release-automation-action@v4
with:
commit-message: 'Release {version}'
Expand Down

0 comments on commit 521adcf

Please sign in to comment.