Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
indpurvesh committed Jun 25, 2024
1 parent 3476ca2 commit 31b0329
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,23 @@ jobs:
run: cargo build --verbose
- name: Run releases
run: cargo build --release
- name: Copy files via ssh
- name: Deploy release
uses: appleboy/scp-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_KEY }}
source: "./target/release,./locales"
source: "./target/release"
target: ${{ secrets.RUST_TARGET_PATH }}
- name: Deploy release
uses: appleboy/scp-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_KEY }}
source: "./public,./resources"
target: ${{ secrets.RUST_DEPLOY_PATH }}

# - name: change file ownership
# uses: appleboy/[email protected]
# with:
Expand Down

0 comments on commit 31b0329

Please sign in to comment.