Skip to content

Commit

Permalink
Refacotr (#16)
Browse files Browse the repository at this point in the history
* allow string or boolean for true
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch committed Sep 13, 2022
1 parent d1d4b52 commit c715fcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uptodate/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ runs:
uses: actions/checkout@v3

- name: GHCR Login
if: ${{ inputs.deploy == 'true' }}
if: ${{ inputs.deploy == 'true' || inputs.deploy == true }}
uses: docker/login-action@v1
with:
registry: ghcr.io
Expand Down Expand Up @@ -82,6 +82,6 @@ runs:
shell: bash

- name: Deploy
if: ${{ inputs.deploy == 'true' }}
if: ${{ inputs.deploy == 'true' || inputs.deploy == true }}
run: docker push ${{ inputs.registry }}/${{ inputs.repo }}/${{ env.container }}
shell: bash

0 comments on commit c715fcd

Please sign in to comment.