Add getSupportedCommands and getSupportedEvents #652
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build GH pages and deploy if on master | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Build | |
run: npm ci && npm run build | |
- name: Deploy | |
uses: peaceiris/[email protected] | |
if: ${{ github.ref == 'refs/heads/master' }} | |
env: | |
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
PUBLISH_BRANCH: gh-pages | |
PUBLISH_DIR: ./build |