Skip to content

Update 07-deploying.md #809

Update 07-deploying.md

Update 07-deploying.md #809

Workflow file for this run

name: Publish Documentation
on:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
gh-test:
if: github.event_name != 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Install & Build
run: |
npm install
npm run build
gh-release:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Install & Build
run: |
npm install
npm run build
- uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build