Skip to content

Commit 3db9dc3

Browse files
datapythonistajreback
authored andcommitted
CI: Removing doc build in azure (pandas-dev#26609)
1 parent 0dbb99e commit 3db9dc3

File tree

1 file changed

+0
-60
lines changed

1 file changed

+0
-60
lines changed

azure-pipelines.yml

-60
Original file line numberDiff line numberDiff line change
@@ -116,63 +116,3 @@ jobs:
116116
fi
117117
displayName: 'Running benchmarks'
118118
condition: true
119-
120-
- job: 'Docs'
121-
pool:
122-
vmImage: ubuntu-16.04
123-
timeoutInMinutes: 90
124-
steps:
125-
- script: |
126-
echo '##vso[task.setvariable variable=CONDA_ENV]pandas-dev'
127-
echo '##vso[task.setvariable variable=ENV_FILE]environment.yml'
128-
displayName: 'Setting environment variables'
129-
130-
- script: |
131-
export PATH=$HOME/miniconda3/bin:$PATH
132-
sudo apt-get install -y libc6-dev-i386
133-
ci/setup_env.sh
134-
displayName: 'Setup environment and build pandas'
135-
136-
- script: |
137-
export PATH=$HOME/miniconda3/bin:$PATH
138-
source activate pandas-dev
139-
doc/make.py
140-
displayName: 'Build documentation'
141-
142-
- script: |
143-
cd doc/build/html
144-
git init
145-
touch .nojekyll
146-
git add --all .
147-
git config user.email "[email protected]"
148-
git config user.name "pandas-docs-bot"
149-
git commit -m "pandas documentation in master"
150-
displayName: 'Create git repo for docs build'
151-
condition : |
152-
and(not(eq(variables['Build.Reason'], 'PullRequest')),
153-
eq(variables['Build.SourceBranch'], 'refs/heads/master'))
154-
155-
# This task to work requires next steps:
156-
# 1. Got to "Library > Secure files" in the azure-pipelines dashboard: https://dev.azure.com/pandas-dev/pandas/_library?itemType=SecureFiles
157-
# 2. Click on "+ Secure file"
158-
# 3. Upload the private key (the name of the file must match with the specified in "sshKeySecureFile" input below, "pandas_docs_key")
159-
# 4. Click on file name after it is created, tick the box "Authorize for use in all pipelines" and save
160-
# 5. The public key specified in "sshPublicKey" is the pair of the uploaded private key, and needs to be specified as a deploy key of the repo where the docs will be pushed: https://github.com/pandas-dev/pandas-dev.github.io/settings/keys
161-
- task: InstallSSHKey@0
162-
inputs:
163-
hostName: 'github.com'
164-
sshPublicKey: 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDfF0BSddjvZx/z4/2TXsy+RxjwBpgdHkmjtL9WfRHxEw1TchBuEj5vWWcxBNTK+9oVzD/Lca89HAXXrklsfkdAK3LvLfGCxTGpP8t/3CxxFdnSg3EN+4cDGKuDlbeTyzdASdPBOq0GTZjUFekl9ZfFrFJ9SoPpqZ4mmPRPapPrkwTs4xIrBly0eWcISFYgZcG58m65+XQpyyBMbpsO5ZHBBxE8kkWN0yY+gKt5PeeIO82xE+7F+3Qhlc67fKfB4FEitQ5SKrbKyGNNdFtEGcC6CEtD0B0vJxssltQEl5dDWPJP6tH4cIm/J6m28mpSYc5fEBhr75jE4Ybw6NtGgBZEdtFRFlnb91mSiVSjM/HEkV7/xYai+H1Gk+I/8tcl8cf3JCiJSP2glz8bp52+i5it29FUL8ITxdJSo0duUkVm3nZ8cDI6zag+nSSmzdZ1I9Fw7M7RRPHM2zd5+6RskeqamR5lY3Iv+t8Yo8cRX10IiHNF89b+3vI5ZkIKqytrPfrY45jGVMXA6x/whMh94Ac94qm+Do7P3eT/66a1lX0r+UfV6UnfwHE6cZ1ZFX2AzlmSiYMKmTD3hn1GNyHHuvk3Mneanbk4+x+8SjAXIK354zJ8c1Qgk1iEicDvna2IBd94R4tBWjYZ8xH7avmPlhs0HwbjiNOFDc45UXvwIl+D7w== [email protected]'
165-
sshKeySecureFile: 'pandas_docs_key'
166-
displayName: 'Install GitHub ssh deployment key'
167-
condition : |
168-
and(not(eq(variables['Build.Reason'], 'PullRequest')),
169-
eq(variables['Build.SourceBranch'], 'refs/heads/master'))
170-
171-
- script: |
172-
cd doc/build/html
173-
git remote add origin [email protected]:pandas-dev/pandas-dev.github.io.git
174-
git push origin master -f
175-
displayName: 'Publish docs to GitHub pages'
176-
condition : |
177-
and(not(eq(variables['Build.Reason'], 'PullRequest')),
178-
eq(variables['Build.SourceBranch'], 'refs/heads/master'))

0 commit comments

Comments
 (0)