-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (36 loc) · 1.12 KB
/
asdocs.yml
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
name: Generate asdocs
on:
push:
branches:
- main
jobs:
generate:
runs-on: windows-latest
steps:
- name: Checkout repository
id: checkout
uses: actions/checkout@v4
- name: Setup Apache Flex SDK
uses: joshtynjala/setup-apache-flex-action@v2
with:
flex-version: "4.16.1"
air-version: "50.2.4.4"
accept-air-license: true
- name: Generate docs
run: asdoc -source-path ".\src\" -doc-classes basic_Main common_Main ControlsMain hud_Main menu3_Main -library-path ".\lib\" -library-path "${{ env.FLEX_HOME }}\frameworks\libs" -main-title "H3 Controls Documentation" -window-title "H3 Controls Documentation" -output ".\asdoc\"
- name: Upload docs
uses: actions/upload-pages-artifact@v3
with:
path: .\asdoc
deploy:
needs: generate
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to Github Pages
uses: actions/deploy-pages@v4