Commit 2b48cd11 authored by Pietro Saccardi's avatar Pietro Saccardi

Accepting known host

parent 535e83c5
Pipeline #509 passed with stages
in 8 minutes and 34 seconds
...@@ -25,6 +25,9 @@ staging:testing: ...@@ -25,6 +25,9 @@ staging:testing:
before_script: before_script:
- apt-get update -qq - apt-get update -qq
- apt-get install -qq -yy rsync - apt-get install -qq -yy rsync
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- echo "${DEPLOY_KNOWN_HOST}" > ~/.ssh/known_hosts
- pipenv install - pipenv install
script: script:
- pipenv run lektor deploy -O www --key "${DEPLOY_KEY}" --username "${DEPLOY_USER}" testing - pipenv run lektor deploy -O www --key "${DEPLOY_KEY}" --username "${DEPLOY_USER}" testing
...@@ -41,6 +44,9 @@ deploy:production: ...@@ -41,6 +44,9 @@ deploy:production:
before_script: before_script:
- apt-get update -qq - apt-get update -qq
- apt-get install -qq -yy rsync - apt-get install -qq -yy rsync
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- echo "${DEPLOY_KNOWN_HOST}" > ~/.ssh/known_hosts
- pipenv install - pipenv install
script: script:
- pipenv run lektor deploy -O www --key "${DEPLOY_KEY}" --username "${DEPLOY_USER}" production - pipenv run lektor deploy -O www --key "${DEPLOY_KEY}" --username "${DEPLOY_USER}" production
......
Markdown is supported
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