From 957e40dedf6009150248b728d66f4a75e3d0714a Mon Sep 17 00:00:00 2001 From: UX3D-kanzler <54799360+UX3D-kanzler@users.noreply.github.com> Date: Fri, 2 Aug 2024 16:27:42 +0200 Subject: [PATCH] Fix github workflow --- .github/workflows/Publish_to_Github_Pages.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Publish_to_Github_Pages.yml b/.github/workflows/Publish_to_Github_Pages.yml index ae06ca98..ab52b349 100644 --- a/.github/workflows/Publish_to_Github_Pages.yml +++ b/.github/workflows/Publish_to_Github_Pages.yml @@ -15,14 +15,13 @@ jobs: - name: Install and Build run: | - cd app_web npm install npm run build - name: Check build size # 1GB = 1073741824 bytes run: | - SIZE=$(du -s -B 1 app_web/dist/ | cut -f 1) + SIZE=$(du -s -B 1 dist/ | cut -f 1) if [[ $SIZE -gt 1073741824 ]]; then echo 'dist folder exceeds limit of 1GB! Aborting'; exit 1; fi - name: Deploy to Khronos repo @@ -30,7 +29,7 @@ jobs: uses: JamesIves/github-pages-deploy-action@v4.6.3 with: branch: main - folder: app_web/dist/ + folder: dist/ token: ${{ secrets.BUILD_GITHUB_PAGES }} repository-name: KhronosGroup/glTF-Sample-Viewer-Release target-folder: docs