Verified Commit 42b174b2 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

lint yml

parent 01ff33d8
......@@ -23,7 +23,9 @@ build:
production:
stage: deploy
image: alpine:3.1
before_script:
- 'which ssh-agent || ( apk add --update openssh )'
- eval $(ssh-agent -s)
......@@ -32,7 +34,9 @@ production:
- 'echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- echo "$KNOWNHOSTS" > ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
rules:
- if: '$CI_COMMIT_BRANCH == "develop"'
script:
- scp -P $SSHPORT -r public/* $SSHCONNECT:~/web/latest
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment