Skip to content

Commit 4cb3be9

Browse files
committed
Adding deployment step
1 parent f89872b commit 4cb3be9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,15 @@ jobs:
3333

3434
- name: Test PHPUnit
3535
run: ./vendor/bin/phpunit
36+
37+
- name: Deploy using ssh
38+
uses: appleboy/ssh-action@master
39+
with:
40+
host: ${{ secrets.HOST }}
41+
username: ${{ secrets.USERNAME }}
42+
key: ${{ secrets.PRIVATE_KEY }}
43+
port: 22
44+
script: |
45+
cd ${{ secrets.APP_PATH }}
46+
./build.sh
47+

0 commit comments

Comments
 (0)