Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
docs
Commits
af972fad
Commit
af972fad
authored
Oct 02, 2019
by
rinpatch
Browse files
Copy the deploy script from pleroma repo
parent
f92ee4a9
Pipeline
#18086
failed with stages
in 1 minute and 8 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
af972fad
...
...
@@ -21,4 +21,9 @@ fetch-and-build:
deploy
:
stage
:
deploy
script
:
-
echo "noop"
-
apk update && apk add openssh-client rsync
-
mkdir -p ~/.ssh
-
echo "${SSH_HOST_KEY}" > ~/.ssh/known_hosts
-
eval $(ssh-agent -s)
-
echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
-
rsync -hrvz --delete -e "ssh -p ${SSH_PORT}" site "${SSH_USER_HOST_LOCATION}/${BRANCH}"
Write
Preview
Supports
Markdown
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