Browse Source

Update site-deploy.yml (#43243)

pull/43292/head
MadCcc 1 year ago
committed by GitHub
parent
commit
01f62b15ad
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      .github/workflows/site-deploy.yml

7
.github/workflows/site-deploy.yml

@ -2,7 +2,10 @@
name: Deploy website
on:
create
push:
tags:
- '4.*'
workflow_dispatch:
permissions:
contents: read
@ -10,7 +13,7 @@ permissions:
jobs:
setup:
runs-on: ubuntu-latest
if: github.event.ref_type == 'tag' && (contains(github.event.ref, '-') == false || startsWith(github.event.ref, '4.'))
if: (startsWith(github.ref, 'refs/tags/') && (contains(github.ref_name, '-') == false)) || github.event_name == 'workflow_dispatch'
steps:
- name: checkout
uses: actions/checkout@v3

Loading…
Cancel
Save