docs(blog): add 《Nest grpc 实践之调用 python ddddocr 库》 #96
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
name: ci | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node.js 16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
- name: Build Project | |
run: | | |
yarn install | |
yarn run build | |
- name: SSH Deploy | |
uses: easingthemes/ssh-deploy@v2.2.11 | |
env: | |
SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} | |
ARGS: '-avzr --delete' | |
SOURCE: 'build' | |
REMOTE_HOST: ${{ secrets.REMOTE_HOST }} | |
REMOTE_USER: 'root' | |
TARGET: '/www/wwwroot/blog' |