From d25276710142818b9e12102872e8944ccd508694 Mon Sep 17 00:00:00 2001 From: teaSummer Date: Fri, 24 May 2024 20:19:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20Action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/{test.yml => deploy.yml} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{test.yml => deploy.yml} (72%) diff --git a/.github/workflows/test.yml b/.github/workflows/deploy.yml similarity index 72% rename from .github/workflows/test.yml rename to .github/workflows/deploy.yml index c6dbf4b..a90d758 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/deploy.yml @@ -1,4 +1,4 @@ -name: remote ssh command +name: 部署网站 on: push: branches: @@ -6,10 +6,10 @@ on: jobs: deploy: - name: Deploy + name: 远程命令 runs-on: ubuntu-latest steps: - - name: executing remote ssh commands + - name: 通过执行命令进行部署 uses: fifsky/ssh-action@master with: host: ${{ secrets.HOST }} @@ -17,4 +17,4 @@ jobs: port: ${{ secrets.PORT }} command: | cd /www/wwwroot/mcisee.top - ls -a + git pull origin