heroku-deploy icon indicating copy to clipboard operation
heroku-deploy copied to clipboard

Couldn't find that app

Open fangxingweiai opened this issue 3 years ago • 0 comments

name: heroku-deploy-stop-start

on:
  workflow_dispatch:
    inputs:
      actions:
        description: "action: deploy/stop/start"
        default: "deploy"
      env:
        description: "environment: Input the name of Environment. If left blank, the main secrets setting will be used by default."
        default: ""

jobs:
  heroku-deploy:
    if: ${{ github.event.inputs.actions == 'deploy' || github.event.inputs.actions == ''}}
    runs-on: ubuntu-latest
    environment: ${{ github.event.inputs.env }}
    steps:
      - run: echo APP_NAME is ${{secrets.APP_NAME}}
      - uses: actions/checkout@v2
      - uses: akhileshns/[email protected] # This is the action
        with:
          heroku_api_key: ${{secrets.HEROKU_API_KEY}}
          heroku_app_name: ${{secrets.APP_NAME}} #Must be unique in Heroku
          heroku_email: ${{secrets.EMAIL}}
          usedocker: true

log

image

fangxingweiai avatar Dec 03 '21 20:12 fangxingweiai