Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torchani
Commits
dded5be0
"docs/vscode:/vscode.git/clone" did not exist on "2a8cc8d1138837309606ebd2ed22008c80e9e1fb"
Unverified
Commit
dded5be0
authored
Dec 16, 2018
by
Gao, Xiang
Committed by
GitHub
Dec 16, 2018
Browse files
Azure deploy github pages, initial step (#154)
parent
7a3961ea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
azure/deploy-docs.yml
azure/deploy-docs.yml
+31
-0
No files found.
azure/deploy-docs.yml
0 → 100644
View file @
dded5be0
queue
:
name
:
Hosted Ubuntu
1604
timeoutInMinutes
:
300
variables
:
python.version
:
'
3.7'
steps
:
-
task
:
UsePythonVersion@0
displayName
:
'
Use
Python
$(python.version)'
inputs
:
versionSpec
:
'
$(python.version)'
-
script
:
'
azure/install_dependencies.sh
&&
pip
install
sphinx
sphinx_rtd_theme
matplotlib
pillow
sphinx-gallery
&&
pip
install
.'
displayName
:
'
Install
dependencies'
-
script
:
'
sphinx-build
docs
build'
displayName
:
Build documents
-
script
:
'
echo
$(deploy_privatekey)
>
~/.ssh/id_rsa
&&
echo
$(deploy_pubkey)
>
~/.ssh/id_rsa.pub'
displayName
:
Set up deploy keys
-
script
:
'
git
clone
git@github.com:aiqm/torchani-test-repo.git
deploy_dir
-b
gh-pages'
displayName
:
Clone old gh-pages
-
script
:
'
rm
-rf
deploy_dir/*
&&
cp
-r
build/*
deploy_dir'
displayName
:
Copy new files
-
script
:
'
cd
deploy_dir
&&
git
add
.
&&
git
commit
-m
"update"
&&
git
push'
displayName
:
Deploy
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment