1 2 3 4 5 6 7 8 9 10 11 12 13
stages: - deploy deploy-heroku: stage: deploy only: - main script: - git remote add heroku https://heroku:$HEROKU_API_KEY@git.heroku.com/things-to-check.git - git push -f heroku HEAD:main environment: name: Default url: https://things-to-check.herokuapp.com/