Skip to content

Commit

Permalink
Update deploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
chauhan2000 authored Apr 4, 2024
1 parent 43495d3 commit 503770d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ on:
workflow_dispatch:

jobs:
example_job:
display-variables:
name: test
runs-on: ubuntu-latest
environment: dev
steps:
- name: Fetch environment variable
run: echo "My secret variable is $FUNCTION_NAME"
env:
FUNCTION_NAME: ${{ env.FUNCTION_NAME }}
- name: Use variables
run: |
echo "repository variable : $FUNCTION_NAME"
env:
FUNCTION_NAME: ${{ vars.FUNCTION_NAME }}

0 comments on commit 503770d

Please sign in to comment.