Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dev_deploy:
- stage: deploy
- image: logicsquaretechnologies/node-awscli
- script:
- - unset CI
- - npm install && npm run build:dev
- - aws s3 sync ./build s3://$S3_BUCKET_NAME_DEV/ --delete --acl public-read
- only:
- - s3-deploy-dev
- live_deploy:
- stage: deploy
- image: logicsquaretechnologies/node-awscli
- script:
- - unset CI
- - npm install && npm run build:live
- - aws s3 sync ./build s3://$S3_BUCKET_NAME_LIVE/ --delete --acl public-read
- only:
- - s3-deploy-live
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement