diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d8fed91..7fa1656 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,3 @@ -image: alpine:latest pages: # the job must be named pages image: node:latest stage: deploy @@ -16,3 +15,11 @@ pages: # the job must be named pages - public # artifact path must be /public for GitLab Pages to pick it up only: - main + +s3-deploy: + stage: .post + image: registry.gitlab.com/gitlab-org/cloud-deploy/aws-base:latest + script: + - aws s3 sync ./public s3://weblite-production-shared-shared-bucket --delete --only-show-errors + only: + - main \ No newline at end of file