From d882e3211fd26be2a19a4c335d423a22a2a86049 Mon Sep 17 00:00:00 2001 From: zizifn <1803942+zizifn@users.noreply.github.com> Date: Fri, 8 Apr 2022 18:25:33 +0800 Subject: [PATCH] enable region --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 04b47cd..5dab6c0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -52,5 +52,5 @@ jobs: echo action is ${{ github.event.inputs.actions }} if [[ ${{ github.event.inputs.actions }} == 'stop' ]]; then heroku ps:scale web=0 -a ${{secrets.APP_NAME}} && echo "stop"; fi if [[ ${{ github.event.inputs.actions }} == 'start' ]]; then heroku ps:scale web=1 -a ${{secrets.APP_NAME}} && echo "start"; fi - if [[ ${{ github.event.inputs.actions }} == 'destroy' ]]; then heroku apps:destroy -a ${{secrets.APP_NAME}} && echo "destroy app"; fi + if [[ ${{ github.event.inputs.actions }} == 'destroy' ]]; then heroku apps:destroy -a ${{secrets.APP_NAME}} --confirm && echo "destroy app"; fi heroku ps -a ${{secrets.APP_NAME}}