Skip to content

Update 03.字段类型处理器.md #254

Update 03.字段类型处理器.md

Update 03.字段类型处理器.md #254

Workflow file for this run

name: CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Build project
env:
CODING_USER: ${{ secrets.CODING_USER }}
CODING_TOKEN: ${{ secrets.CODING_TOKEN }}
run: yarn --frozen-lockfile && yarn run deploy
# - name: Upload COS
# uses: zkqiang/[email protected]
# with:
# args: list / -ar && delete -r -f / && upload -r ./docs/.vuepress/dist/ /
# secret_id: ${{ secrets.TENCENT_CLOUD_SECRET_ID }}
# secret_key: ${{ secrets.TENCENT_CLOUD_SECRET_KEY }}
# bucket: ${{ secrets.TENCENT_CLOUD_BUCKET }}
# region: ap-beijing
- name: Deploy to ECS
uses: cross-the-world/scp-pipeline@master
with:
host: ${{ secrets.ECS_HOST }}
user: ${{ secrets.ECS_USERNAME }}
pass: ${{ secrets.ECS_PASSWORD }}
connect_timeout: 10s
local: './docs/.vuepress/dist/*'
remote: '/var/www/html/'