Newer
Older
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
on:
push:
branches:
- main
workflow_dispatch:
jobs:
pages:
runs-on: ubuntu-latest
steps:
- name: Checkout latest code
uses: actions/checkout@master
with:
fetch-depth: 0
- name: Setup Node.js environment
uses: actions/setup-node@v2.5.1
with:
# Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0
node-version: '>= 16.9.1'
# Set this option if you want the action to check for the latest available version that satisfies the version spec
check-latest: false
- name: Install Quasar
run: npm install -g @quasar/cli
- name: Install packages
run: npm install
- name: Build project for NGINX release package
run: quasar build
# DEPLOY TO GH-PAGES
- name: Deploy to GitHub-Pages
uses: JamesIves/github-pages-deploy-action@v4.2.2
with:
branch: gh-pages
folder: dist/spa