fix(ci): update deployment path and add Vike build step

- Add web frontend build step to compile Vike site
- Change artifact upload path from ./dist/ to ./web/dist/
- Install web dependencies before building frontend
This commit is contained in:
Ryan Walters
2025-11-02 13:44:38 -06:00
parent fb98c077b5
commit 4002729ef7

View File

@@ -173,11 +173,21 @@ jobs:
fi
done
- name: Install web dependencies
shell: bash
run: bun install
working-directory: web
- name: Build web frontend
shell: bash
run: bun run build
working-directory: web
- name: Upload Artifact
uses: actions/upload-pages-artifact@v4
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
with:
path: "./dist/"
path: "./web/dist/"
retention-days: 7
- name: Deploy