Skip to content

feat: 总体设计前沿v0 #14

feat: 总体设计前沿v0

feat: 总体设计前沿v0 #14

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
- name: Install npm dependencies
run: npm install
- name: Run build task
run: npm run build
- name: copy file via ssh password
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
source: "dist/*"
target: ${{ secrets.TARGET }}