Skip to content

Commit

Permalink
fix: use ref_type
Browse files Browse the repository at this point in the history
  • Loading branch information
italopessoa committed Oct 16, 2024
1 parent 4173fa5 commit 62d8025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:

jobs:
build-docker-image:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
if: github.ref_type == 'tag'
name: Create Docker image - ${{ github.ref }}
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 62d8025

Please sign in to comment.