fix bee-dashboard build
This commit is contained in:
@@ -9,24 +9,26 @@ jobs:
|
||||
node-build:
|
||||
runs-on: hostinger
|
||||
container:
|
||||
image: ghcr.io/pnpm/pnpm:11.8.0
|
||||
image: gitea.woggioni.net/woggioni/gitea-runner/pnpm:latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
path: docker-images
|
||||
- name: Checkout bee-dashboard sources
|
||||
run: /usr/sbin/git clone -b 0.35.1 --depth 1 https://gitea.woggioni.net/woggioni/bee-dashboard.git src
|
||||
run: git clone -b v0.35.1 --depth 1 https://gitea.woggioni.net/woggioni/bee-dashboard.git src
|
||||
- name: Prepare build
|
||||
run: pnpm install --frozen-lockfile
|
||||
working-directory: ./src
|
||||
- name: Execute build
|
||||
run: cd src
|
||||
- run: pnpm install --frozen-lockfile
|
||||
- run: pnpm run build
|
||||
run: pnpm run build
|
||||
working-directory: ./src
|
||||
- name: Copy _headers file
|
||||
run: cp docker-images/bee-dashboard/_headers src/build
|
||||
- name: Create archive
|
||||
run: tar -czf docker-images/bee-dashboard/bee-dashboard.tar -C src/build .
|
||||
- name: Upload folder as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: https://gitea.com/actions/gitea-upload-artifact@v4
|
||||
with:
|
||||
name: build-artifact
|
||||
path: docker-images/bee-dashboard/bee-dashboard.tar
|
||||
|
||||
Reference in New Issue
Block a user