Merge branch 'main' of gitlab.com:keanuapp/keanuapp-weblite into main
This commit is contained in:
commit
01c0eb503f
1 changed files with 8 additions and 1 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue