Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Cecile Cavet
test-ci
Commits
ebca8234
Commit
ebca8234
authored
Oct 08, 2018
by
Cecile Cavet
Browse files
Update .gitlab-ci.yml
parent
9c124caf
Pipeline
#17421
passed with stage
in 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
12 deletions
+25
-12
.gitlab-ci.yml
.gitlab-ci.yml
+25
-12
No files found.
.gitlab-ci.yml
View file @
ebca8234
image
:
python:alpine
before_script
:
-
pip install mkdocs
deploy_prod
:
#script: git push production HEAD:master
script
:
-
"
export
SSHPASS=$MY_SECRET_KEY_PASS"
-
"
sshpass
-e
scp
-o
stricthostkeychecking=no
-r
test
cavet@134.158.244.5:/ldc_git"
environment
:
name
:
CLOUD_VM
url
:
134.158.244.5
when
:
manual
only
:
-
master
## pages
#before_script:
# - pip install mkdocs
# Add your custom theme if not inside a theme_dir
# (https://github.com/mkdocs/mkdocs/wiki/MkDocs-Themes)
# - pip install mkdocs-material
pages
:
stage
:
deploy
script
:
-
mkdocs build
-
mv site public
artifacts
:
paths
:
-
public
only
:
-
master
#
pages:
#
stage: deploy
#
script:
#
- mkdocs build
#
- mv site public
#
artifacts:
#
paths:
#
- public
#
only:
#
- master
#pages:
# stage: 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