Updated ref check (#3)

* Fixed formatting on if statement for deploy job
This commit is contained in:
Maka0 2022-07-04 04:47:43 +00:00 committed by GitHub
parent 2295b1095c
commit bf5536636f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,7 +148,7 @@ jobs:
packages: write
contents: read
if: contains('refs/heads/master', github.ref) || ${{ github.ref }} =~ ^refs\/tags\/v.*
if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }}
steps:
- uses: actions/checkout@v3