add gh-pages build

This commit is contained in:
2022-09-28 23:28:01 +01:00
parent c599049ced
commit db5a555ab6

24
.github/workflows/deploy-gh-pages.yml vendored Normal file
View 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