Skip to content

Commit

Permalink
Create outputs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
h0x0er authored Aug 2, 2024
1 parent bc95407 commit 3705fac
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/outputs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Outputs
on:
workflow_dispatch:


env:
APPROVAL_HOOK_ENV: "int"

jobs:
capture_outputs:
runs-on: ubuntu-latest
steps:
- run: |
if [[ $APPROVAL_HOOK_ENV == "int" ]]; then
echo "label1=first_label-int"
else
echo "label1=first_label-prod"
fi

0 comments on commit 3705fac

Please sign in to comment.