mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-05 23:15:40 -06:00
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:
12
.github/workflows/build.yaml
vendored
12
.github/workflows/build.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user