Newer
Older
1
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Deploy javadocs to GitHub pages
on:
push:
branches:
- main
- master
workflow_dispatch:
jobs:
pages:
runs-on: ubuntu-latest
steps:
# GET LATEST CODE
- name: Checkout latest code
uses: actions/checkout@master
with:
fetch-depth: 0
# IF JAVA PROJECT
# # BUILD PROJECT AND PUBLISH TO PACKAGES
# - name: Set up JDK 8
# uses: actions/setup-java@v2
# with:
# distribution: 'adopt'
# java-version: '8'
# - name: Grant execute permission for gradlew
# run: chmod +x gradlew
# - name: Build documentation
# run: ./gradlew about installQuasar cleanFrontend assembleFrontend copyDist build --info -x test
# - name: List files
# run: ls -ahl build/libs
#
# # DEPLOY TO GH-PAGES
# - name: Deploy to GitHub-Pages
# uses: JamesIves/github-pages-deploy-action@4.1.5
# with:
# branch: gh-pages
# folder: build/docs/javadoc
# IF QUASAR PROJECT
# - name: Setup Node.js environment
# uses: actions/setup-node@v2.4.1
# with:
# # Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0
# node-version: '>= 16.1.0'
# # Set this option if you want the action to check for the latest available version that satisfies the version spec
# check-latest: false
# - run: npm install -g @quasar/cli
# - run: npm install
# - run: quasar build
# - run: pwd && ls -al *
#
# # DEPLOY TO GH-PAGES
# - name: Deploy to GitHub-Pages
# uses: JamesIves/github-pages-deploy-action@4.1.7
# with:
# branch: gh-pages
# folder: dist/spa