File tree 3 files changed +10
-57
lines changed
3 files changed +10
-57
lines changed Original file line number Diff line number Diff line change 7
7
- release/*
8
8
paths :
9
9
- ' docs/**'
10
- - ' .github/workflows/docs .yml'
10
+ - ' .github/workflows/docs_build .yml'
11
11
pull_request :
12
12
paths :
13
13
- ' docs/**'
14
- - ' .github/workflows/docs .yml'
14
+ - ' .github/workflows/docs_build .yml'
15
15
16
16
jobs :
17
17
42
42
with :
43
43
name : docs
44
44
path : docs
45
-
Original file line number Diff line number Diff line change 1
1
name : Documentation Build and Production Deploy CI
2
2
3
3
on :
4
+ release :
5
+ types : [published]
4
6
push :
5
7
branches :
6
8
- release/*
9
+ - master
7
10
paths :
8
11
- ' docs/**'
9
- - ' .github/workflows/docs .yml'
12
+ - ' .github/workflows/docs_deploy .yml'
10
13
11
14
jobs :
12
15
@@ -27,12 +30,11 @@ jobs:
27
30
env :
28
31
# Deploy to production server
29
32
# DOCS_BUILD_DIR: "./docs/_build/"
30
- DOCS_DEPLOY_PRIVATEKEY : ${{ secrets.DOCS_PROD_PRIVATEKEY }}
31
- DOCS_DEPLOY_PATH : ${{ secrets.DOCS_PROD_PATH }}
33
+ DOCS_DEPLOY_PRIVATEKEY : ${{ secrets.DOCS_KEY }}
34
+ DOCS_DEPLOY_PATH : ${{ secrets.DOCS_PATH }}
32
35
DOCS_DEPLOY_SERVER : ${{ secrets.DOCS_SERVER }}
33
- DOCS_DEPLOY_SERVER_USER : ${{ secrets.DOCS_PROD_USER }}
34
- DOCS_DEPLOY_URL_BASE : ${{ secrets.DOCS_PROD_URL_BASE }}
35
- # Deploy to preview server
36
+ DOCS_DEPLOY_SERVER_USER : ${{ secrets.DOCS_USER }}
37
+ DOCS_DEPLOY_URL_BASE : ${{ secrets.DOCS_URL }}
36
38
run : |
37
39
sudo apt update
38
40
sudo apt install python3-pip python3-setuptools
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments