Skip to content

Commit e8f24eb

Browse files
authored
Create lean-cloud.yml
1 parent 07dddc0 commit e8f24eb

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/lean-cloud.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Controls when the action will run. Triggers the workflow on push request for the master branch
2+
on:
3+
push:
4+
branches: [ master ]
5+
6+
jobs:
7+
deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Deploy to LeanEngine
11+
uses: enflo/curl-action@v1.2
12+
with:
13+
curl: -X POST https://cn-n1-console-api.leancloud.cn/1.1/engine/groups/web/production/version?gitTag=${{ github.sha }}&token=${{ secrets.DEPLOY_TOKEN }}

0 commit comments

Comments
 (0)