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