Testing deployment pipeline
This commit is contained in:
@@ -26,3 +26,23 @@ build-content:
|
||||
|
||||
|
||||
|
||||
############## ################## ##############
|
||||
############## Deploy Site ##############
|
||||
############## ################## ##############
|
||||
|
||||
deploy-to-s3:
|
||||
stage: deploy
|
||||
# Override entrypoint to avoid weird auto start shenanigans
|
||||
image:
|
||||
name: amazon/aws-cli:2.2.25
|
||||
entrypoint: [""]
|
||||
needs:
|
||||
- build-content
|
||||
before_script:
|
||||
- bash ci/verify-aws-fields.sh
|
||||
script:
|
||||
# Check to make sure the website bucket is present
|
||||
- aws s3 bucket-exists project-temper-tv | grep temper.tv
|
||||
# Next we can upload the content to the bucket itself
|
||||
- cd main-site/ && aws s3 cp public s3://temper.tv/ --recursive
|
||||
|
||||
|
||||
Reference in New Issue
Block a user