mirror of
https://github.com/samuelncui/yatm.git
synced 2026-04-27 11:06:30 +00:00
fix: build path
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -26,4 +26,4 @@ jobs:
|
||||
node-version: '20'
|
||||
|
||||
- name: Build
|
||||
run: .../build.sh
|
||||
run: ./build.sh
|
||||
|
||||
6
build.sh
6
build.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user