roles-bot/.github/workflows/pages.yml

30 lines
573 B
YAML
Raw Normal View History

2021-12-21 11:10:06 +01:00
name: Pages Deployment
on:
push:
2021-12-21 12:55:50 +01:00
branches: [master]
2021-12-21 11:10:06 +01:00
jobs:
website:
name: Website
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
2021-12-22 19:05:07 +01:00
- uses: actions/setup-node@v1
with:
node-version: 12
2021-12-22 19:19:19 +01:00
- name: Build
run: |
2022-01-02 18:58:59 +01:00
cd packages/website
2021-12-22 19:19:19 +01:00
npm i
npm run build
npm run export
2021-12-22 19:05:07 +01:00
2021-12-21 11:10:06 +01:00
- name: Deploy site
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: gh-pages
2022-01-02 18:58:59 +01:00
folder: packages/website/out