###前提・実現したいこと
railsで開発してアプリをGithubにPushした際、werckerを使用してビルド、Herokuへのデプロイを行いたいと思っております。
rspecのテストは無事に終了しますが、deployがどうしても上手くいきません。
werckerとHerokuに詳しい方がおりましたらご教授下さい。
###発生している問題・エラーメッセージ
create mode 100644 test/models/user_test.rb create mode 100644 test/test_helper.rb create mode 100644 vendor/assets/javascripts/.keep create mode 100644 vendor/assets/stylesheets/.keep create mode 100644 wercker.yml starting heroku deployment with git push Warning: Permanently added the RSA host key for IP address '50.19.85.156' to the list of known hosts. ! Invalid path. ! Syntax is: git@heroku.com:<app>.git where <app> is your app's name. ! ! SSH Key Fingerprint: 7a:15:53:67:83:ff:99:e1:36:d0:9a:df:37:7d:1f:b0 fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. git pushed exited with 128 push failed, retrying push in 5 seconds starting heroku deployment with git push Warning: Permanently added the RSA host key for IP address '50.19.85.154' to the list of known hosts. ! Invalid path. ! Syntax is: git@heroku.com:<app>.git where <app> is your app's name. ! ! SSH Key Fingerprint: 7a:15:53:67:83:ff:99:e1:36:d0:9a:df:37:7d:1f:b0 fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. git pushed exited with 128 heroku toolbelt not found, starting installing it finished heroku toolbelt installation type heroku: heroku is /usr/local/heroku/bin/heroku Installing Heroku Toolbelt v4... done. For more information on Toolbelt v4: https://github.com/heroku/heroku-cli heroku-cli: Updating to 5.6.16-3391c63... done Updating Heroku CLI...done. Updated to 3.43.16 heroku version: heroku-toolbelt/3.42.15 (x86_64-linux) ruby/2.3.0 heroku-cli/5.6.16-3391c63 (linux-amd64) go1.7.5 You have no installed plugins. failed: git push to heroku failed
###該当のソースコード
wercker.ymlのデブロイの部分です。
環境変数は全て設定したつもりです。
yml
1deploy: 2 steps: 3 - heroku-deploy: 4 install-toolbelt: true 5 key: $HEROKU_KEY 6 key-name: HEROKU_KEY_PAIR 7 user: $HEROKU_USER 8 app-name: $HEROKU_APP_NAME 9 - script: 10 name: Update database 11 code: heroku run rake db:migrate –app $HEROKU_APP_NAME 12 after-steps: 13 - wantedly/pretty-slack-notify: 14 webhook_url: $SLACK_WEBHOOK_URL 15 channel: slack-test 16
###試したこと
werckerで生成した公開鍵をHerokuに登録しました。
(werckerで生成されたHEROKU_KEY_PAIR_PUBLICの値)
色々なサイトも参考にしました。
werckerのサイトも見ました。
http://devcenter.wercker.com/docs/quickstarts/deployment/heroku

あなたの回答
tips
プレビュー