From 4d11c8b997ca9bc9564999a01323eb1a1c51f45a Mon Sep 17 00:00:00 2001 From: xiange Date: Wed, 28 Feb 2024 22:19:06 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8E=20ci:=20remove=20publish=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 08a6ef58..038cd33f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Test And Deoloy +name: Test on: push: @@ -22,21 +22,4 @@ jobs: - name: Run unit tests run: npm run test - - - name: Build - run: npm run build - - - name: Remove map files - run: rm -rf build/*.map - - - name: Copy file to server - uses: appleboy/scp-action@v0.1.4 - with: - host: ${{ secrets.CHILI3D_HOST }} - username: ${{ secrets.CHILI3D_HOST_USER }} - password: ${{ secrets.CHILI3D_HOST_PSD }} - source: build/* - target: /var/www/html/chili3d - strip_components: 1 - rm: true \ No newline at end of file