File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ jobs:
206206 if-no-files-found : error
207207
208208 - name : Prepare Pages artifacts for main
209- if : github.ref == 'refs/heads/main'
209+ if : github.ref == 'refs/heads/main' && vars.ZEROADE_ENABLE_PAGES_DEPLOY == 'true'
210210 shell : bash
211211 run : |
212212 set -euo pipefail
@@ -271,7 +271,7 @@ jobs:
271271 HTML
272272
273273 - name : Upload Pages artifact
274- if : github.ref == 'refs/heads/main'
274+ if : github.ref == 'refs/heads/main' && vars.ZEROADE_ENABLE_PAGES_DEPLOY == 'true'
275275 uses : actions/upload-pages-artifact@v3
276276 with :
277277 path : out/pages
@@ -294,7 +294,7 @@ jobs:
294294 ${{ steps.prepare.outputs.main_update_file }}
295295
296296 deploy-pages :
297- if : github.ref == 'refs/heads/main'
297+ if : github.ref == 'refs/heads/main' && vars.ZEROADE_ENABLE_PAGES_DEPLOY == 'true'
298298 needs : build-macos-arm64
299299 runs-on : ubuntu-latest
300300 environment :
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments