mirror of
https://github.com/xHyroM/roles-bot.git
synced 2024-11-14 04:58:07 +01:00
30 lines
No EOL
573 B
YAML
30 lines
No EOL
573 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 packages/website
|
|
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: packages/website/out |