Skip to content

Commit 45e745b

Browse files
committed
Source .profile when sshing into VPS
1 parent 870aee4 commit 45e745b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ jobs:
3939
4040
- name: SSH, Pull, and Build Main and Examples
4141
run: |
42-
ssh -tt ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} -p ${{ secrets.SSH_PORT || 22 }} "export PATH=$PATH:~/.cargo/bin && cd ~/ww-rs && git checkout master && git pull && make build examples"
42+
ssh -tt ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} -p ${{ secrets.SSH_PORT || 22 }} ". ~/.profile && cd ~/ww-rs && git checkout master && git pull && env CARGO_TERM_COLOR=always make build examples"

0 commit comments

Comments
 (0)