Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Rodin Handbook
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
Rodin Handbook
Commits
3fcd51d8
Commit
3fcd51d8
authored
1 year ago
by
dgelessus
Browse files
Options
Downloads
Patches
Plain Diff
Set up automatic deployment to hhu-hosting
parent
f6772f57
No related branches found
No related tags found
No related merge requests found
Pipeline
#121389
canceled
1 year ago
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+13
-0
13 additions, 0 deletions
.gitlab-ci.yml
with
13 additions
and
0 deletions
.gitlab-ci.yml
+
13
−
0
View file @
3fcd51d8
...
@@ -27,3 +27,16 @@ build:
...
@@ -27,3 +27,16 @@ build:
-
org.rodinp.handbook.feature/build/html
-
org.rodinp.handbook.feature/build/html
-
org.rodinp.handbook.feature/build/pdf
-
org.rodinp.handbook.feature/build/pdf
-
org.rodinp.handbook.repository/target/repository
-
org.rodinp.handbook.repository/target/repository
deploy
:
stage
:
deploy
only
:
-
develop@general/stups/rodin_handbook
image
:
alpine:3
variables
:
GIT_STRATEGY
:
none
before_script
:
-
apk update
-
apk add lftp openssh-client
script
:
-
LFTP_PASSWORD="${DEPLOY_PASSWORD}" lftp -c "set cmd:fail-exit
true
; set sftp:auto-confirm
true
; open --user ${DEPLOY_USERNAME} --env-password sftp://${DEPLOY_HOST}/${DEPLOY_REMOTE_BASEDIR}/handbook/rodin/; mirror -vvv -R org.rodinp.handbook.feature/build current; mirror -vvv -R org.rodinp.handbook.repository/target/repository updatesite"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment