Skip to content

Merge pull request #21 from minorcell/djh #55

Merge pull request #21 from minorcell/djh

Merge pull request #21 from minorcell/djh #55

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Cp Central Server
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup SSH agent
uses: webfactory/ssh-agent@v0.5.3
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: add SSH known hosts
run: |
ssh-keyscan -H 47.109.193.161 >> ~/.ssh/known_hosts
- name : Deploy vite-project alibaba Cloud
run : |
scp -r ./ root@47.109.193.161:/www/wwwroot/CpCentralServer