File tree Expand file tree Collapse file tree 2 files changed +44
-2
lines changed Expand file tree Collapse file tree 2 files changed +44
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : prod
2
+ on :
3
+ push :
4
+ branches :
5
+ - ' cesium.com'
6
+ - ' cesium.com-staging'
7
+ jobs :
8
+ deploy-docs :
9
+ runs-on : ubuntu-22.04
10
+ env :
11
+ AWS_ACCESS_KEY_ID : ${{ secrets.NATIVE_ACCESS_KEY }}
12
+ AWS_SECRET_ACCESS_KEY : ${{ secrets.NATIVE_SECRET_KEY }}
13
+ AWS_REGION : us-east-1
14
+ steps :
15
+ - name : Install Doxygen
16
+ run : |
17
+ cd ~
18
+ wget https://github.com/doxygen/doxygen/releases/download/Release_1_12_0/doxygen-1.12.0.linux.bin.tar.gz
19
+ tar xzf doxygen-1.12.0.linux.bin.tar.gz
20
+ export PATH=$PWD/doxygen-1.12.0/bin:$PATH
21
+ echo "PATH=$PATH" >> "$GITHUB_ENV"
22
+ doxygen --version
23
+ - name : Check out repository code
24
+ uses : actions/checkout@v4
25
+ with :
26
+ submodules : recursive
27
+ - name : Mark documentation official
28
+ if : ${{ github.ref_name == 'cesium.com' }}
29
+ run : |
30
+ sed -i 's/PRE-RELEASE/ /g' Documentation/Doxyfile
31
+ - name : Generate Documentation
32
+ run : |
33
+ npm install
34
+ npm run doxygen
35
+ - name : Deploy to cesium.com
36
+ if : ${{ github.ref_name == 'cesium.com' }}
37
+ run : |
38
+ aws s3 sync Documentation/Reference/html/ s3://cesium-website/cesium-unreal/ref-doc/ --cache-control "public, max-age=1800" --delete
39
+ - name : Deploy to cesium.com staging
40
+ if : ${{ github.ref_name == 'cesium.com-staging' }}
41
+ run : |
42
+ aws s3 sync Documentation/Reference/html/ s3://cesium-website/cesium-unreal/ref-doc-staging/ --cache-control "public, max-age=1800" --delete
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ PROJECT_NUMBER = $(npm_package_version)
54
54
# for a project that appears at the top of each page and should give viewer a
55
55
# quick idea about the purpose of the project. Keep the description short.
56
56
57
- PROJECT_BRIEF =
57
+ PROJECT_BRIEF = PRE-RELEASE
58
58
59
59
# With the PROJECT_LOGO tag one can specify a logo or an icon that is included
60
60
# in the documentation. The maximum height of the logo should not exceed 55
@@ -947,7 +947,7 @@ INPUT = ./README.md \
947
947
./ \
948
948
./Documentation \
949
949
./Documentation/Pages \
950
- ./Source/CesiumRuntime/Public
950
+ ./Source/CesiumRuntime/Public
951
951
952
952
# This tag can be used to specify the character encoding of the source files
953
953
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
You can’t perform that action at this time.
0 commit comments