Skip to content

Commit ca38808

Browse files
committed
Add script to deploy to server
1 parent 308b749 commit ca38808

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,11 @@ jobs:
6262
repository: ndolestudio/httpmock
6363
readme-filepath: ./README.md
6464
if: github.event_name != 'pull_request'
65+
66+
- name: Deploy to Server
67+
uses: appleboy/ssh-action@v1.2.1
68+
with:
69+
host: ${{ secrets.SSH_HOST }}
70+
key: ${{ secrets.SSH_KEY }}
71+
username: ${{ secrets.SSH_USERNAME }}
72+
script: httpmock.restart

0 commit comments

Comments
 (0)