learn-wgpu/.github/workflows/deploy.yml

21 lines
401 B
YAML
Raw Normal View History

name: Deploy to GH Pages
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install and Build
run: |
npm install
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: gh-pages
folder: docs/.vuepress/dist