fix: build path

This commit is contained in:
Samuel N Cui
2023-09-26 15:33:04 +08:00
parent 84194421ae
commit 2121c6cffb
2 changed files with 5 additions and 3 deletions

View File

@@ -26,4 +26,4 @@ jobs:
node-version: '20'
- name: Build
run: .../build.sh
run: ./build.sh

View File

@@ -11,5 +11,7 @@ cp -r scripts ./output/;
cp ./cmd/tape-httpd/tape-writer.service ./output/
cp ./cmd/tape-httpd/config.example.yaml ./output/
docker run --rm -v $(pwd):/app golang:1.21 sh -c "cd /app && bash build_backend.sh"
docker run --rm -v $(pwd):/app node:20-slim sh -c "cd /app && bash build_frontend.sh"
# docker run --rm -v $(pwd):/app golang:1.21 sh -c "cd /app && bash "
# docker run --rm -v $(pwd):/app node:20-slim sh -c "cd /app && bash build_frontend.sh"
./build_backend.sh
./build_frontend.sh