Skip to content

Merge pull request #3 from leancloud/feat-preview #4

Merge pull request #3 from leancloud/feat-preview

Merge pull request #3 from leancloud/feat-preview #4

# Controls when the action will run. Triggers the workflow on push request for the master branch
on:
push:
branches: [master]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
token: ${{ secrets.CHECKOUT_TOKEN }}
- name: Deploy to LeanEngine
uses: enflo/[email protected]
with:
curl: -X POST https://console-api.cn-n1.lcops.cn/1.1/engine/groups/web/production/version?gitTag=${{ github.sha }}&token=${{ secrets.LC_DEPLOY_TOKEN }}