Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
r3-pages
Commits
dddedc21
Commit
dddedc21
authored
Jul 15, 2020
by
Yohan Jarosz
🐶
Browse files
Merge branch 'patch-2' into 'master'
Update .gitlab-ci.yml See merge request core-services/r3lab/r3-pages!43
parents
6cf88fd7
a0339751
Pipeline
#29910
passed with stages
in 4 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
dddedc21
...
...
@@ -21,7 +21,10 @@ build the website:
-
build
variables
:
JEKYLL_ENV
:
production
rules
:
-
if
:
$CI_COMMIT_BRANCH
-
if
:
$CI_COMMIT_TAG
-
if
:
$CI_MERGE_REQUEST_TARGET_BRANCH_NAME
## Deploys the website to a separate VM
Deploy to production
:
...
...
@@ -94,3 +97,5 @@ Recover website from backup:
-
ssh -p $SSHPORT $SSHCONNECT "find $BACKUP_LOC -mindepth 1 | read"
# Remove old files and restore them from archive
-
ssh -p $SSHPORT $SSHCONNECT "bash restore.sh $WEB_LOC $BACKUP_LOC"
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