Commit 842fc68 1 parent 3da8ca7 commit 842fc68 Copy full SHA for 842fc68
File tree 1 file changed +13
-1
lines changed
1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,21 @@ concurrency:
22
22
cancel-in-progress : true
23
23
24
24
jobs :
25
+ setup :
26
+ runs-on : ubuntu-latest
27
+ outputs :
28
+ ingestion_change : ${{ steps.ci-optimize.outputs.ingestion-change == 'true' }}
29
+ has_pages_token : ${{ secrets.CLOUDFLARE_ACCOUNT_ID != '' && secrets.CLOUDFLARE_API_TOKEN != '' }}
30
+ steps :
31
+ - name : Check out the repo
32
+ uses : acryldata/sane-checkout-action@v3
33
+ - uses : ./.github/actions/ci-optimization
34
+ id : ci-optimize
35
+
25
36
deploy-pages :
37
+ needs : setup
26
38
runs-on : ubuntu-latest
27
- if : ${{ secrets.CLOUDFLARE_ACCOUNT_ID != ' ' && secrets.CLOUDFLARE_API_TOKEN != ' ' }}
39
+ if : ${{ needs.setup.outputs.ingestion_change == 'true ' && needs.setup.outputs.has_pages_token == 'true ' }}
28
40
29
41
permissions :
30
42
contents : read
You can’t perform that action at this time.
0 commit comments