SHARE
TWEET

Untitled

a guest Apr 23rd, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. stages:
  2. - dockerize
  3. - s3
  4. - deploy
  5. dockerize:
  6.   stage: dockerize
  7.   script:
  8.   - <DOCKERIZE_DO_SOMETHING>
  9. s3:
  10.   stage: s3
  11.   script:
  12.   - yarn install
  13.   - yarn build
  14.   - NODE_ENV=staging CDN_HOST_BUCKET=$CDN_HOST_BUCKET CDN_ACCESS_KEY_ID=$CDN_ACCESS_KEY_ID CDN_SECRET_ACCESS_KEY=$CDN_SECRET_ACCESS_KEY yarn s3:upload
  15.   - NODE_ENV=production CDN_HOST_BUCKET=$CDN_HOST_BUCKET CDN_ACCESS_KEY_ID=$CDN_ACCESS_KEY_ID CDN_SECRET_ACCESS_KEY=$CDN_SECRET_ACCESS_KEY yarn s3:upload
  16. deploy:
  17.   stage: deploy
  18.   script:
  19.   - <DEPLOYMENT_SCRIPTS>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top