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

Accepting known host

parent 535e83c5
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -25,6 +25,9 @@ staging:testing:
  before_script:
    - apt-get update -qq
    - apt-get install -qq -yy rsync
    - mkdir -p ~/.ssh
    - chmod 700 ~/.ssh
    - echo "${DEPLOY_KNOWN_HOST}" > ~/.ssh/known_hosts
    - pipenv install
  script:
    - pipenv run lektor deploy -O www --key "${DEPLOY_KEY}" --username "${DEPLOY_USER}" testing
@@ -41,6 +44,9 @@ deploy:production:
  before_script:
    - apt-get update -qq
    - apt-get install -qq -yy rsync
    - mkdir -p ~/.ssh
    - chmod 700 ~/.ssh
    - echo "${DEPLOY_KNOWN_HOST}" > ~/.ssh/known_hosts
    - pipenv install
  script:
    - pipenv run lektor deploy -O www --key "${DEPLOY_KEY}" --username "${DEPLOY_USER}" production