Skip to content

Commit

Permalink
fix: build path
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelncui committed Sep 26, 2023
1 parent 8419442 commit 2121c6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
node-version: '20'

- name: Build
run: .../build.sh
run: ./build.sh
6 changes: 4 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2121c6c

Please sign in to comment.