Skip to content

Commit 37287e3

Browse files
auto deploy
1 parent 9372a6c commit 37287e3

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/main.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Deploy API Service
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
deploy:
9+
name: deploy
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
# - name: Setup PHP
16+
# uses: shivammathur/setup-php@master
17+
# with:
18+
# php-version: 8.3
19+
# extensions: mbstring, bcmath, zip
20+
# tools: composer:v2
21+
22+
- name: Setup Deployer
23+
uses: deployphp/action@master
24+
with:
25+
private-key: ${{ secrets.SSH_PRIVATE_KEY }}
26+
dep: deploy -v

0 commit comments

Comments
 (0)