update ci

This commit is contained in:
felinae98 2022-05-29 00:22:57 +08:00
parent 6e107ddc79
commit 3ffc3f81b5
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610
2 changed files with 12 additions and 0 deletions

View File

@ -4,7 +4,15 @@ on:
push:
branches:
- main
paths: &path
- admin-frontend/**
- docker/**
- src/**
- tests/**
- pyproject.toml
- poetry.lock
pull_request:
paths: *path
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

View File

@ -2,6 +2,10 @@ name: Site Deploy(Preview)
on:
pull_request_target:
paths:
- docs/**
- package.json
- yarn.lock
jobs:
preview: