Skip to content

Commit bdb4900

Browse files
authored
build: upload docs (#61)
1 parent 73b202d commit bdb4900

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,15 @@ jobs:
3838
env:
3939
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4040
NPM_TOKEN: ${{ secrets.NPM_WOMBAT_TOKEN }}
41+
- run: |
42+
npm i
43+
npm run docs
44+
cp -r dist docs/dist
45+
cp -r examples docs/examples
46+
- uses: peaceiris/actions-gh-pages@v3
47+
with:
48+
github_token: ${{ secrets.GITHUB_TOKEN }}
49+
publish_dir: ./docs
50+
user_name: 'googlemaps-bot'
51+
user_email: 'googlemaps-bot@users.noreply.github.com'
52+
commit_message: ${{ github.event.head_commit.message }}

0 commit comments

Comments
 (0)