Skip to content

Commit

Permalink
尝试修复
Browse files Browse the repository at this point in the history
  • Loading branch information
he0119 committed Dec 16, 2020
1 parent cf05d76 commit 8be595f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@ jobs:
env:
EVENT_NAME: ${{ github.event_name }}
run: echo "$EVENT_NAME"
- name: TEST ENV
- name: Test env
env:
TEST_ENV: ${{ secrets.TEST_ENV }}
run: [ "$TEST_ENV" == "dev" ] && echo "dev" || echo "Not dev"
run: |
[ "$TEST_ENV" == "dev" ] && echo "dev" || echo "Not dev"
deploy_prod:
name: Deploy Production
Expand All @@ -71,7 +72,8 @@ jobs:
env:
EVENT_NAME: ${{ github.event_name }}
run: echo "$EVENT_NAME"
- name: TEST ENV
- name: Test env
env:
TEST_ENV: ${{ secrets.TEST_ENV }}
run: [ "$TEST_ENV" == "prod" ] && echo "prod" || echo "Not prod"
run: |
[ "$TEST_ENV" == "prod" ] && echo "prod" || echo "Not prod"

0 comments on commit 8be595f

Please # to comment.