mirror of
https://github.com/xHyroM/roles-bot.git
synced 2024-11-10 03:08:06 +01:00
30 lines
No EOL
555 B
YAML
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 |