refactor: LC 文档重构 #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Controls when the action will run. Triggers the workflow on push request for the master branch | |
on: | |
push: | |
branches: [master] | |
schedule: | |
- cron: '0 */2 * * *' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
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.DEPLOY_TOKEN }} |