Skip to content

Instantly share code, notes, and snippets.

@bigbes
Created September 11, 2017 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bigbes/e7a6d3730191c5bdebf3f0eeb1dd610e to your computer and use it in GitHub Desktop.
Save bigbes/e7a6d3730191c5bdebf3f0eeb1dd610e to your computer and use it in GitHub Desktop.
website-full-deploy:
tags:
- docker
image: "registry.gitlab.com/tarantool/doc"
script:
- cmake . && make
- echo ${RSYNC_PASSWORD} > rsync.password
- chmod 600 rsync.password
- rsync -Pav --password-file=rsync.password output/
${RSYNC_USER}@${RSYNC_HOST}::tarantool-org/
- rm -f rsync.password
only: [ "1.7" ]
website-doc-deploy:
tags:
- docker
image: "registry.gitlab.com/tarantool/doc"
script:
- cmake . && make
- echo ${RSYNC_PASSWORD} > rsync.password
- chmod 600 rsync.password
- rsync -Pav --password-file=rsync.password output/en/doc/${CI_COMMIT_REF_NAME}/
${RSYNC_USER}@${RSYNC_HOST}::tarantool-org/en/doc/1.8/
- rm -f rsync.password
only: [ "1.6", "1.8" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment