From 01aaa716cc09dbb5b9b6f623c9461e931b390dff Mon Sep 17 00:00:00 2001 From: EngiGu Date: Mon, 1 Jan 2024 14:07:06 +0800 Subject: [PATCH] Delete .github/workflows/nodejs.yml --- .github/workflows/nodejs.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 .github/workflows/nodejs.yml diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml deleted file mode 100644 index ebdbf6b..0000000 --- a/.github/workflows/nodejs.yml +++ /dev/null @@ -1,30 +0,0 @@ -# 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: build-api-front-output -on: - workflow_dispatch: - push: - branches: [ "api-front" ] - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Use Node.js - uses: actions/setup-node@v3 - with: - node-version: "18.x" - - run: npm install - - run: npm run build - - - name: Upload files to server - uses: appleboy/scp-action@master - with: - host: 'nd2.ex.engigu.cn' - username: 'root' - password: ${{ secrets.ND2PWD }} - source: './dist' - target: '/root/workspace/ngproxy/data/pages/api-front'