Skip to content

update

update #464

Workflow file for this run

name: CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.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
run: npm install && npm run build
- name: Deploy to ECS
uses: appleboy/[email protected]
with:
host: ${{ secrets.ECS_HOST }}
username: ${{ secrets.ECS_USERNAME }}
password: ${{ secrets.ECS_PASSWORD }}
source: './dist/*'
target: '/var/www/mybatis-plus-doc/'
# rm: true