This repository was archived by the owner on Oct 15, 2020. It is now read-only.
This repository was archived by the owner on Oct 15, 2020. It is now read-only.
Git push to heroku #10
Open
Description
I am trying to deploy to heroku with github actions using actions/heroku@master. I am not using docker so the standard directions for the heroku action does not really apply to me.
My current flow is:
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: login
uses: actions/heroku@master
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
with:
args: container:login
- name: set remote
uses: actions/heroku@master
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
with:
args: git:remote -a my-app
- name: push
run: git subtree push --prefix server heroku master
It seems to login just fine and it adds the remote but then it fails when I try to push to heroku with the following message:
fatal: could not read Username for 'https://git.heroku.com': No such device or address
Which seems strange because the heroku login command should be adding my credentials to the .netrc file.
Metadata
Metadata
Assignees
Labels
No labels