From bb6ddb7a94be8769448c08993274eb0e860e3113 Mon Sep 17 00:00:00 2001 From: SP Mohanty <spmohanty91@gmail.com> Date: Thu, 9 May 2019 03:08:42 +0200 Subject: [PATCH] Use aws cp to copy files over --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cbdd0164..c722f3c3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,7 +40,7 @@ build_and_deploy_docs: - pip install -r requirements_dev.txt - python setup.py install - make docs - - aws s3 sync ./docs/_build/html s3://${BUCKET_NAME} + - aws s3 cp ./docs/_build/html/ s3://${BUCKET_NAME} --recursive environment: name: ${CI_COMMIT_REF_SLUG} url: http://${BUCKET_NAME}.s3-website.${AWS_DEFAULT_REGION}.amazonaws.com/ -- GitLab