Skip to content

Bump gh-pages from 2.1.1 to 5.0.0 #18

Bump gh-pages from 2.1.1 to 5.0.0

Bump gh-pages from 2.1.1 to 5.0.0 #18

Workflow file for this run

name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install and test
run: |
npm ci
npm test
env:
CI: true
- name: Build
if: success() && github.ref == 'refs/heads/master'
run: npm run build
- name: Deploy
if: success() && github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v2
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./build