@@ -28,23 +28,23 @@ jobs:
28
28
- name : Build Rust
29
29
run : cargo build --release --manifest-path ./apps/rust-backend/Cargo.toml
30
30
31
- - name : Copy file via scp
32
- uses : appleboy/scp-action@v0.1.7
33
- with :
34
- host : ${{ secrets.IP }}
35
- username : ${{ secrets.USERNAME }}
36
- key : ${{ secrets.KEY }}
37
- source : " apps/rust-backend/target/release/rust-backend"
38
- target : " ~/apps/next-rust-todolist/apps/rust-backend/target/release/"
39
- strip_components : 4
40
-
41
- - uses : appleboy/ssh-action@v1.0.0
42
- with :
43
- host : ${{ secrets.IP }}
44
- username : ${{ secrets.USERNAME }}
45
- key : ${{ secrets.KEY }}
46
- script : |
47
- cd apps/next-rust-todolist
48
- git checkout .
49
- git pull
50
- docker-compose up -d --build
31
+ # - name: Copy file via scp
32
+ # uses: appleboy/scp-action@v0.1.7
33
+ # with:
34
+ # host: ${{ secrets.IP }}
35
+ # username: ${{ secrets.USERNAME }}
36
+ # key: ${{ secrets.KEY }}
37
+ # source: "apps/rust-backend/target/release/rust-backend"
38
+ # target: "~/apps/next-rust-todolist/apps/rust-backend/target/release/"
39
+ # strip_components: 4
40
+ #
41
+ # - uses: appleboy/ssh-action@v1.0.0
42
+ # with:
43
+ # host: ${{ secrets.IP }}
44
+ # username: ${{ secrets.USERNAME }}
45
+ # key: ${{ secrets.KEY }}
46
+ # script: |
47
+ # cd apps/next-rust-todolist
48
+ # git checkout .
49
+ # git pull
50
+ # docker-compose up -d --build
0 commit comments