-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Currently it doesn't seem that the example page is updated automatically for every release. With GitHub Actions this can be achieved easily. Please have a look at this example:
name: Publish Example Site
on:
push:
tags:
- v*
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: npm install
- run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ...
publish_branch: ...
user_name: 'OSS Sauce Bot'
user_email: '[email protected]'
commit_message: ${{ github.event.head_commit.message }}Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed