mirror of
https://github.com/ysoftdevs/oauth-playground-server.git
synced 2026-11-13 12:33:38 +01:00
Update build_and_deploy.yml
This commit is contained in:
1 parent
ca12e7a0d5
commit
77d91b56cb
1 file changed
+1
-1
@@ -31,6 +31,6 @@ jobs:
|
||||
- name: Stop service
|
||||
run: ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "systemctl stop OAuthServer"
|
||||
- name: Deploy with rsync
|
||||
run: rsync -avz /home/runner/work/oauth-playground-server/oauth-playground-server/target/oauth-playground-server-1.0.0-SNAPSHOT-runner.jar ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/oauth-online-server
|
||||
run: rsync -avz /target/oauth-playground-server-1.0.0-SNAPSHOT-runner.jar ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/oauth-online-server
|
||||
- name: Start service
|
||||
run: ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "systemctl start OAuthServer"
|
||||
Reference in new issue
Block a user