Update main.yml

add log
This commit is contained in:
yaolin-0
2021-10-07 18:31:57 +08:00
committed by GitHub
parent 872f103ef8
commit 485c1be46a

View File

@@ -16,6 +16,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: ${{ github.event.inputs.env }} environment: ${{ github.event.inputs.env }}
steps: steps:
- run: echo APP_NAME is ${{secrets.APP_NAME}}
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: akhileshns/heroku-deploy@v3.6.8 # This is the action - uses: akhileshns/heroku-deploy@v3.6.8 # This is the action
with: with:
@@ -30,8 +31,6 @@ jobs:
HD_UUID: ${{ secrets.HEROKU_V2RAY_UUID }} # UUID for v2ray user, 为了安全一定要放入github action token中 HD_UUID: ${{ secrets.HEROKU_V2RAY_UUID }} # UUID for v2ray user, 为了安全一定要放入github action token中
NODE_ENV: production NODE_ENV: production
SECRET_KEY: ${{ secrets.MY_SECRET_KEY }} SECRET_KEY: ${{ secrets.MY_SECRET_KEY }}
- run: |
echo APP_NAME is ${{secrets.APP_NAME}}
stop-start: stop-start:
if: ${{ github.event.inputs.actions == 'start' || github.event.inputs.actions == 'stop' }} if: ${{ github.event.inputs.actions == 'start' || github.event.inputs.actions == 'stop' }}
runs-on: ubuntu-latest runs-on: ubuntu-latest