feat(iframeAPI): Drop deprecated function. #846
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@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Build | |
run: npm ci && npm run build | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v2.5.0 | |
if: ${{ github.ref == 'refs/heads/master' }} | |
env: | |
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
PUBLISH_BRANCH: gh-pages | |
PUBLISH_DIR: ./build |