mirror of
https://github.com/dtomlinson91/anno-production-chain-renderer.git
synced 2025-12-22 06:15:45 +00:00
add gh-pages build
This commit is contained in:
24
.github/workflows/deploy-gh-pages.yml
vendored
Normal file
24
.github/workflows/deploy-gh-pages.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Deploy | GH Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Install project
|
||||
run: yarn install
|
||||
- name: Install Quasar CLI
|
||||
run: yarn global add @quasar/cli
|
||||
- name: Build
|
||||
run: quasar build
|
||||
- name: Deploy to GH pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: dist/spa
|
||||
Reference in New Issue
Block a user