Skip to content

Commit

Permalink
build: move doc building into same step as release (#855)
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHahn authored Oct 9, 2024
1 parent 301a082 commit 5efdb4a
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
- uses: actions/checkout@v4
- name: Set git user
uses: fregante/setup-git-user@v1
- name: Generate Api docs
run: |
npm ci
npm run doc
- 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 All @@ -63,3 +50,4 @@ jobs:
npm-token: ${{ secrets.NPM_TOKEN }}
build-command: |
npm ci
npm run doc

0 comments on commit 5efdb4a

Please sign in to comment.