Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
AngelGuide
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Himmel
AngelGuide
Commits
252de3aa
Commit
252de3aa
authored
5 years ago
by
migu
Browse files
Options
Downloads
Patches
Plain Diff
publish job: use new variables
parent
c0884a33
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!6
publish guide to server
Pipeline
#23677
failed
5 years ago
Stage: build
Stage: publish
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
with
3 additions
and
3 deletions
.gitlab-ci.yml
+
3
−
3
View file @
252de3aa
...
@@ -24,11 +24,11 @@ publish_guide:
...
@@ -24,11 +24,11 @@ publish_guide:
-
mkdir -p ~/.ssh
-
mkdir -p ~/.ssh
-
chmod 700 ~/.ssh
-
chmod 700 ~/.ssh
-
eval $(ssh-agent -s)
-
eval $(ssh-agent -s)
-
echo "$SSH_PRIVATE_KEY" |
tr -d '\r' |
ssh-add -
-
echo
-n
"$SSH_PRIVATE_KEY" | ssh-add -
-
echo "$
SSH_KNOWN
_HOST
S
" > ~/.ssh/known_hosts
-
echo "$
PUBLISH
_HOST" > ~/.ssh/known_hosts
-
chmod 644 ~/.ssh/known_hosts
-
chmod 644 ~/.ssh/known_hosts
script
:
script
:
-
'
scp
-v
angelguide_
??
.pdf
$PUBLISH
ING_HOST:
'
-
'
rsync
-
a
v
angelguide_
*
.pdf
$PUBLISH
_USER@$PUBLISH_HOST:$PUBLISH_PATH
'
# rules:
# rules:
# - if: '$CI_COMMIT_REF_NAME == "master"'
# - if: '$CI_COMMIT_REF_NAME == "master"'
# when: on_success
# when: on_success
...
...
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