Skip to content

Commit

Permalink
Update context.yml (#1472)
Browse files Browse the repository at this point in the history
  • Loading branch information
nakamasato authored Aug 29, 2024
1 parent 884815b commit 596c540
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/context.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
workflow_dispatch:
push:

env:
TEST_ENV: ${{ (github.event_name == 'release' && 'prod') || 'dev' }}

jobs:
check:
runs-on: ubuntu-latest
Expand All @@ -21,6 +24,8 @@ jobs:
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: env ${{ env.TEST_ENV }}
run: echo "$TEST_ENV"
- name: github.event.action
env:
PR_HEAD_REF: ${{ github.event.pull_request.head.ref }}
Expand Down

0 comments on commit 596c540

Please sign in to comment.