roles-bot/.github/workflows/pages.yml
2021-12-22 19:19:19 +01:00

30 lines
No EOL
555 B
YAML

name: Pages Deployment
on:
push:
branches: [master]
jobs:
website:
name: Website
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- name: Build
run: |
cd src/web
npm i
npm run build
npm run export
- name: Deploy site
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: gh-pages
folder: src/web/out