Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
W
www
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
10
Issues
10
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Progetti
www
Commits
a0a8064d
Commit
a0a8064d
authored
Feb 03, 2019
by
Pietro Saccardi
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reading environment var base64-encoded
parent
e07459b7
Pipeline
#513
failed with stages
in 6 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
.gitlab-ci.yml
.gitlab-ci.yml
+7
-1
No files found.
.gitlab-ci.yml
View file @
a0a8064d
...
...
@@ -24,7 +24,13 @@ build:lektor:
-
mkdir -p ~/.ssh
-
chmod 700 ~/.ssh
-
eval $(ssh-agent -s)
-
echo "${DEPLOY_KEY}" | tr -d '\r' | ssh-add - > /dev/null
#
# See https://gitlab.com/gitlab-org/gitlab-ce/issues/14434
# To avoid issues with the newlines and the encoding, the variable
# should contain the base64 encoding of the private key as follows:
# $ cat deploy_key | base64 -w0
#
-
ssh-add <(echo "${DEPLOY_KEY}" | base64 -d)
-
ssh-keyscan -p ${DEPLOY_PORT} "${DEPLOY_HOST}" >> ~/.ssh/known_hosts
-
chmod 644 ~/.ssh/known_hosts
only
:
...
...
Pietro Saccardi
@5p4k
mentioned in commit
5a7b753c
·
Feb 03, 2019
mentioned in commit
5a7b753c
mentioned in commit 5a7b753cca303a6962a762179a75399d9359bc31
Toggle commit list
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