Change: [CI] rework preview flow and use Cloudflare Pages to publish (#11116)

This commit is contained in:
Patric Stout
2023-07-08 12:30:27 +02:00
committed by GitHub
parent 153323a4c0
commit 323dd619bb
7 changed files with 126 additions and 270 deletions

16
.github/workflows/preview.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: Preview
on:
pull_request_target:
types:
- labeled
- synchronize
branches:
- master
jobs:
preview:
if: ${{ (github.event.action == 'labeled' && github.event.label.name == 'preview') || (github.event.action != 'labeled' && contains(github.event.pull_request.labels.*.name, 'preview')) }}
name: Preview
uses: ./.github/workflows/preview-build.yml
secrets: inherit