Merge branch 'main' of gitlab.com:keanuapp/keanuapp-weblite into main

This commit is contained in:
Nathan Freitas 2021-09-20 09:46:42 -04:00
commit 01c0eb503f
No known key found for this signature in database
GPG key ID: A801183E69B37AA9

View file

@ -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