Skip to content

Commit 9fab2b9

Browse files
committed
updates
1 parent 1f0b041 commit 9fab2b9

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

.github/workflows/deploy.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ jobs:
2626
toolchain: stable
2727

2828
- name: Build Rust
29-
run: cargo build --release --manifest-path ./packages/server/Cargo.toml
29+
run: cargo build --release --manifest-path ./apps/rust-backend/Cargo.toml
3030

3131
- name: Copy file via scp
3232
uses: appleboy/scp-action@v0.1.7
3333
with:
3434
host: ${{ secrets.IP }}
3535
username: ${{ secrets.USERNAME }}
3636
key: ${{ secrets.KEY }}
37-
source: "packages/server/target/release/server"
38-
target: "~/apps/next-rust-todolist/packages/server/target/release/"
37+
source: "apps/rust-backend/target/release/rust-backend"
38+
target: "~/apps/next-rust-todolist/apps/rust-backend/target/release/"
3939
strip_components: 4
4040

4141
- uses: appleboy/ssh-action@v1.0.0

apps/rust-backend/Cargo.lock

+22-22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/rust-backend/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "server"
2+
name = "rust-backend"
33
version = "0.1.0"
44
edition = "2021"
55

0 commit comments

Comments
 (0)