Skip to content

Commit 566f88f

Browse files
committed
deployment - moving the binary file
1 parent f2db900 commit 566f88f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,15 @@ jobs:
3131
port: ${{ secrets.SSH_PORT }}
3232
source: "bin/pastemyst"
3333
target: "builds"
34+
- name: move binary and pull repo
35+
uses: appleboy/ssh-action@master
36+
with:
37+
host: ${{ secrets.SSH_HOST }}
38+
username: ${{ secrets.SSH_USER }}
39+
key: ${{ secrets.SSH_SECRET }}
40+
port: ${{ secrets.SSH_PORT }}
41+
script: |
42+
rm pastemyst/pastemyst
43+
mv builds/bin/pastemyst pastemyst/pastemyst
44+
cd pastemyst
45+
git pull origin main

0 commit comments

Comments
 (0)