Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yangcheng authored May 27, 2024
1 parent f39cbd8 commit f36885a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ on:
inputs:
AZURE_RESOURCE_NAME:
description: 'Azure Resource Name'
required: true
required: false
AZURE_DEPLOYMENT_NAME:
description: 'Azure Deployment Name'
required: true
required: false
push:
branches:
- main

jobs:
deploy:
Expand All @@ -26,5 +29,5 @@ jobs:
env:
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
AZURE_RESOURCE_NAME: ${{ github.event.inputs.AZURE_RESOURCE_NAME }}
AZURE_DEPLOYMENT_NAME: ${{ github.event.inputs.AZURE_DEPLOYMENT_NAME }}
AZURE_RESOURCE_NAME: ${{ github.event.inputs.AZURE_RESOURCE_NAME || secrets.AZURE_RESOURCE_NAME }}
AZURE_DEPLOYMENT_NAME: ${{ github.event.inputs.AZURE_DEPLOYMENT_NAME || secrets.AZURE_DEPLOYMENT_NAME }}

0 comments on commit f36885a

Please sign in to comment.