Commit 598b138e authored by Shane A. Stillwell's avatar Shane A. Stillwell 🎯

Using Netlify, do not need gitlab to deploy

parent 16d369ad
stages:
- build
- deploy
build:
image: registry.gitlab.com/pages/hugo:latest
stage: build
script:
- hugo
artifacts:
paths:
- public/
deploy:
stage: deploy
image: garland/aws-cli-docker
script:
- aws configure set preview.cloudfront true
- aws s3 sync ./public s3://$S3_BUCKET_NAME --delete;
- aws cloudfront create-invalidation --distribution-id $DISTRO_ID --paths "/*";
dependencies:
- build
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment