Skip to content

Commit

Permalink
add gh-pages in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
cadgerfeast committed Feb 3, 2021
1 parent f03864e commit 5777e02
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ jobs:
echo ::set-output name=SHOULD_RELEASE::true
echo current version is $CURRENT
fi
- name: Documentation
if: github.event_name == 'push'
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.ACCESS_TOKEN }}
publish_dir: ./docs/dist
- name: Release
if: github.event_name == 'push' && steps.env.outputs.SHOULD_RELEASE == 'true'
run: npx release-it --ci --verbose --disable-metrics --increment=${{steps.env.outputs.VERSION}}
Expand Down

0 comments on commit 5777e02

Please sign in to comment.