Skip to content

Commit fd2eb81

Browse files
committed
Added back the deploy on PR - Clean CI 11
1 parent 5501ac6 commit fd2eb81

File tree

2 files changed

+8
-16
lines changed

2 files changed

+8
-16
lines changed

.github/workflows/docs_deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Documentation Build and Deploy CI
1+
name: Documentation Build and Production Deploy CI
22

33
on:
44
push:
@@ -15,8 +15,8 @@ on:
1515

1616
jobs:
1717

18-
deploy-preview-docs:
19-
name: Deploy Documentation
18+
deploy-prod-docs:
19+
name: Deploy Documentation on Production
2020
runs-on: ubuntu-22.04
2121
defaults:
2222
run:
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/setup-python@v4
2929
with:
3030
python-version: '3.10'
31-
- name: Deploy Preview
31+
- name: Deploy Documentation
3232
env:
3333
# Deploy to production server
3434
# DOCS_BUILD_DIR: "./docs/_build/"

.github/workflows/docs.yml renamed to .github/workflows/docs_preview.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ on:
88
paths:
99
- 'docs/**'
1010
- '.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'
1515

1616
jobs:
1717

@@ -30,15 +30,7 @@ jobs:
3030
python-version: '3.10'
3131
- name: Deploy Preview
3232
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 }}
4033
# Deploy to preview server
41-
TYPE: "preview"
4234
# DOCS_BUILD_DIR: "./docs/_build"
4335
DOCS_DEPLOY_PRIVATEKEY: ${{ secrets.DOCS_KEY }}
4436
DOCS_DEPLOY_PATH: ${{ secrets.DOCS_PATH }}

0 commit comments

Comments
 (0)