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