Skip to content

Commit 720d1ba

Browse files
committed
Removed CI jobs for docs build and deploy
1 parent ed3e7b9 commit 720d1ba

File tree

1 file changed

+1
-54
lines changed

1 file changed

+1
-54
lines changed

.github/workflows/docs.yml

+1-54
Original file line numberDiff line numberDiff line change
@@ -15,59 +15,6 @@ on:
1515

1616
jobs:
1717

18-
build-docs:
19-
name: Build Docs
20-
runs-on: ubuntu-latest
21-
defaults:
22-
run:
23-
shell: bash
24-
steps:
25-
- uses: actions/checkout@v2
26-
with:
27-
submodules: true
28-
- uses: actions/setup-python@v2
29-
with:
30-
python-version: '3.x'
31-
- name: Build
32-
run: |
33-
sudo apt update
34-
sudo apt install python3-pip python3-setuptools
35-
# GitHub CI installs pip3 and setuptools outside the path.
36-
# Update the path to include them and run.
37-
PATH=/home/runner/.local/bin:$PATH pip3 install --user -r ./docs/requirements.txt
38-
cd ./docs && PATH=/home/runner/.local/bin:$PATH build-docs -l en
39-
40-
deploy-docs:
41-
name: Deploy Docs
42-
runs-on: ubuntu-latest
43-
defaults:
44-
run:
45-
shell: bash
46-
steps:
47-
- uses: actions/checkout@v2
48-
with:
49-
submodules: true
50-
- uses: actions/setup-python@v2
51-
with:
52-
python-version: '3.x'
53-
- name: Deploy Production
54-
env:
55-
DOCS_BUILD_DIR: "./docs/_build/"
56-
DOCS_DEPLOY_PRIVATEKEY: ${{ secrets.DOCS_DEPLOY_KEY }}
57-
DOCS_DEPLOY_SERVER: ${{ secrets.DOCS_PROD_SERVER }}
58-
DOCS_DEPLOY_SERVER_USER: ${{ secrets.DOCS_PROD_SERVER_USER }}
59-
DOCS_DEPLOY_PATH: ${{ secrets.DOCS_PATH }}
60-
DOCS_DEPLOY_URL_BASE: ${{ secrets.DOCS_URL }}
61-
run: |
62-
sudo apt update
63-
sudo apt install python3-pip python3-setuptools
64-
PATH=/home/runner/.local/bin:$PATH pip3 install --user -r ./docs/requirements.txt
65-
PATH=/home/runner/.local/bin:$PATH source ./docs/utils.sh
66-
PATH=/home/runner/.local/bin:$PATH add_doc_server_ssh_keys $DOCS_DEPLOY_PRIVATEKEY $DOCS_DEPLOY_SERVER $DOCS_DEPLOY_SERVER_USER
67-
PATH=/home/runner/.local/bin:$PATH export GIT_VER=$(git describe --always)
68-
cd ./docs && PATH=/home/runner/.local/bin:$PATH build-docs -l en
69-
PATH=/home/runner/.local/bin:$PATH deploy-docs
70-
7118
deploy-preview-docs:
7219
name: Deploy Preview Docs
7320
runs-on: ubuntu-latest
@@ -92,9 +39,9 @@ jobs:
9239
run: |
9340
sudo apt update
9441
sudo apt install python3-pip python3-setuptools
95-
PATH=/home/runner/.local/bin:$PATH pip3 install --user -r ./docs/requirements.txt
9642
PATH=/home/runner/.local/bin:$PATH source ./docs/utils.sh
9743
PATH=/home/runner/.local/bin:$PATH add_doc_server_ssh_keys $DOCS_DEPLOY_PRIVATEKEY $DOCS_DEPLOY_SERVER $DOCS_DEPLOY_SERVER_USER
9844
PATH=/home/runner/.local/bin:$PATH export GIT_VER=$(git describe --always)
45+
PATH=/home/runner/.local/bin:$PATH pip3 install --user -r ./docs/requirements.txt
9946
cd ./docs && PATH=/home/runner/.local/bin:$PATH build-docs -l en
10047
PATH=/home/runner/.local/bin:$PATH deploy-docs

0 commit comments

Comments
 (0)