From 16083b6c6b129a50c4b648dee9aab9d8055abfeb Mon Sep 17 00:00:00 2001 From: zizifn <1803942+zizifn@users.noreply.github.com> Date: Sun, 13 Dec 2020 01:01:15 +0800 Subject: [PATCH] chore: test --- .github/workflows/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ae25dab..e0bbc2f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,8 +14,6 @@ jobs: if: ${{ github.event.inputs.actions == 'deploy' }} runs-on: ubuntu-latest steps: - - run: | - echo "testinput: ${{ github.event.inputs.testinput }}" - uses: actions/checkout@v2 - uses: akhileshns/heroku-deploy@v3.6.8 # This is the action with: @@ -42,4 +40,8 @@ jobs: heroku_app_name: ${{secrets.APP_NAME}} #Must be unique in Heroku heroku_email: ${{secrets.EMAIL}} justlogin: true - - run: heroku auth:whoami + - run: | + echo ${{ github.event.inputs.actions }} + if [[ ${{ github.event.inputs.actions }} == 'stop' ]]; then echo "stop" && echo "dd"; fi + if [[ ${{ github.event.inputs.actions }} == 'start' ]]; then echo "start" && echo "dd"; fi + heroku auth:whoami