diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 947c6aa..2d4d960 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,9 +39,13 @@ jobs: - name: deploy develop uses: akhileshns/heroku-deploy@v3.12.12 with: - heroku_api_key: ${{ secrets.HEROKU_API_KEY }} heroku_app_name: smartphone heroku_email: ${{ secrets.HEROKU_EMAIL }} + run: | + git remote add heroku https://heroku:${HEROKU_API_KEY}@git.heroku.com/${heroku_app_name}.git + git config --local http.extraheader "Heroku-Space: ttt246" + git push heroku develop:master --force + deploy-staging: runs-on: ubuntu-latest if: github.ref == 'refs/heads/staging'