mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-13 09:48:27 +03:00
Update test-build-deploy.yml
This commit is contained in:
+2
-1
@@ -50,6 +50,7 @@ jobs:
|
||||
docker-push:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [test]
|
||||
if: github.event_name == 'push'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
@@ -88,7 +89,7 @@ jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [docker-push]
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
|
||||
steps:
|
||||
- name: Run deploy script on server
|
||||
uses: appleboy/ssh-action@master
|
||||
|
||||
Reference in New Issue
Block a user