MadCcc
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
2 deletions
-
.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 |
|
|
|