Update site-deploy.yml

This commit is contained in:
MadCcc 2023-04-27 09:42:20 +08:00 committed by GitHub
parent 749493453f
commit c6546e0f92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ permissions:
jobs:
setup:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/') && (contains(github.ref_name, '-') == false)
if: (startsWith(github.ref, 'refs/tags/') && (contains(github.ref_name, '-') == false)) || github.event_name == 'workflow_dispatch'
steps:
- name: checkout
uses: actions/checkout@v3