File tree Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Original file line number Diff line number Diff line change 1
- name : Documentation Build and Deploy CI
1
+ name : Documentation Build and Production Deploy CI
2
2
3
3
on :
4
4
push :
15
15
16
16
jobs :
17
17
18
- deploy-preview -docs :
19
- name : Deploy Documentation
18
+ deploy-prod -docs :
19
+ name : Deploy Documentation on Production
20
20
runs-on : ubuntu-22.04
21
21
defaults :
22
22
run :
28
28
- uses : actions/setup-python@v4
29
29
with :
30
30
python-version : ' 3.10'
31
- - name : Deploy Preview
31
+ - name : Deploy Documentation
32
32
env :
33
33
# Deploy to production server
34
34
# DOCS_BUILD_DIR: "./docs/_build/"
Original file line number Diff line number Diff line change 8
8
paths :
9
9
- ' docs/**'
10
10
- ' .github/workflows/docs.yml'
11
- pull_request :
12
- paths :
13
- - ' docs/**'
14
- - ' .github/workflows/docs.yml'
11
+ # pull_request:
12
+ # paths:
13
+ # - 'docs/**'
14
+ # - '.github/workflows/docs.yml'
15
15
16
16
jobs :
17
17
30
30
python-version : ' 3.10'
31
31
- name : Deploy Preview
32
32
env :
33
- # Deploy to production server
34
- # DOCS_BUILD_DIR: "./docs/_build/"
35
- # DOCS_DEPLOY_PRIVATEKEY: ${{ secrets.DOCS_PROD_PRIVATEKEY }}
36
- # DOCS_DEPLOY_PATH: ${{ secrets.DOCS_PROD_PATH }}
37
- # DOCS_DEPLOY_SERVER: ${{ secrets.DOCS_SERVER }}
38
- # DOCS_DEPLOY_SERVER_USER: ${{ secrets.DOCS_PROD_USER }}
39
- # DOCS_DEPLOY_URL_BASE: ${{ secrets.DOCS_PROD_URL_BASE }}
40
33
# Deploy to preview server
41
- TYPE : " preview"
42
34
# DOCS_BUILD_DIR: "./docs/_build"
43
35
DOCS_DEPLOY_PRIVATEKEY : ${{ secrets.DOCS_KEY }}
44
36
DOCS_DEPLOY_PATH : ${{ secrets.DOCS_PATH }}
You can’t perform that action at this time.
0 commit comments