Skip to content

Commit

Permalink
Fix error on empty argument
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Sep 9, 2024
1 parent 985ab02 commit 3b1ac85
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/actions/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ inputs:
tag:
required: false
default: latest
env:
required: false
envFile:
required: false
outputs:
Expand Down Expand Up @@ -50,8 +48,7 @@ runs:
no_traffic: ${{ inputs.tag != 'latest' }}
flags: |
--allow-unauthenticated
--set-env-vars="${{ inputs.env }}"
--env-vars-file="${{ inputs.envFile }}"
${{ inputs.envFile && "--env-vars-file=${{ inputs.envFile }}" || "" }}
--service-account=github-deploy@${{ inputs.projectId }}.iam.gserviceaccount.com
- name: Move traffic to new revision
if: ${{ inputs.tag == 'latest' }}
Expand Down

0 comments on commit 3b1ac85

Please sign in to comment.