Skip to content

Commit dccbbc7

Browse files
committed
add action
1 parent da94927 commit dccbbc7

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/master.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
web-deploy:
11+
name: 🎉 Deploy
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: update
15+
uses: appleboy/ssh-action@master
16+
with:
17+
host: ${{ secrets.SSH_HOST }}
18+
username: ${{ secrets.SSH_USERNAME }}
19+
key: ${{ secrets.SSH_KEY }}
20+
port: ${{ secrets.SSH_PORT }}
21+
script: |
22+
cd ${{ secrets.PROJECT_FOLDER }}
23+
php artisan docs:parse

0 commit comments

Comments
 (0)