Skip to content

Commit c35587f

Browse files
committed
Fix deployment
1 parent 3cf8feb commit c35587f

2 files changed

Lines changed: 3 additions & 103 deletions

File tree

.github/workflows/release-macos-arm64.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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:

docs/architecture.md

Lines changed: 0 additions & 100 deletions
This file was deleted.

0 commit comments

Comments
 (0)