Я пытаюсь настроить свой GitLab CI для развертывания демонстрационного кода на Heroku, я проследил за чтением в Интернете и у меня возникли некоторые проблемы
Это ошибка, которую я получаю (из GitLab CI):
$ git remote add heroku https://heroku:$HEROKU_API_KEY@git.heroku.com/MyApp.git
$ git push -f heroku master
error: src refspec master does not match any.
error: failed to push some refs to 'https://heroku:MyAPI@git.heroku.com/MyApp.git'
Это часть моего файла .gitlab-ci.yml:
deployment:
stage: deploy
script:
- git remote add heroku https://heroku:$HEROKU_API_KEY@git.heroku.com/MyApp.git
- git push heroku master