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 4b3fcd2 commit 43495d3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@ on:
branches:
- master # Adjust the branch name as needed
workflow_dispatch:
inputs:
FUNCTION_NAME:
description: 'My secret variable'
required: true


jobs:
example_job:
runs-on: ubuntu-latest
steps:
- name: Fetch environment variable
run: echo "My secret variable is $FUNCTION_NAME"
env:
MY_SECRET_VARIABLE: ${{ env.FUNCTION_NAME }}
FUNCTION_NAME: ${{ env.FUNCTION_NAME }}

0 comments on commit 43495d3

Please sign in to comment.