Advertisement
tko_pb

gitlab.yml

Nov 3rd, 2021
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. image: node:latest
  2. before_script:
  3. - apt-get update -qy
  4. - apt-get install -y ruby-dev
  5. - gem install dpl
  6. stages:
  7. - staging
  8. - production
  9. staging:
  10. type: deploy
  11. stage: staging
  12. image: ruby:latest
  13. script:
  14. - dpl --provider=heroku --app=$HEROKU_APP_STAGING --api-key=$HEROKU_API_KEY
  15. only:
  16. - staging
  17. production:
  18. type: deploy
  19. stage: production
  20. image: ruby:latest
  21. script:
  22. - dpl --provider=heroku --app=$HEROKU_APP_PRODUCTION --api-key=$HEROKU_API_KEY
  23. only:
  24. - master
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement