Loading .gitlab-ci.yml +6 −0 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 Loading Loading
.gitlab-ci.yml +6 −0 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 Loading