From c44762d44a6ae56bb40a2d37c4cd96e447c65050 Mon Sep 17 00:00:00 2001 From: Kuizuo Date: Sat, 22 Jun 2024 23:57:32 +0800 Subject: [PATCH] ci: add lint --- .github/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4ce7ee8..a28e7118 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,12 +33,15 @@ jobs: - name: Build run: nr build + - name: Lint + run: nr lint + - name: SSH Deploy uses: easingthemes/ssh-deploy@v4.1.10 env: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} - ARGS: "-avzr --delete" - SOURCE: "build" + ARGS: '-avzr --delete' + SOURCE: 'build' REMOTE_HOST: ${{ secrets.REMOTE_HOST }} - REMOTE_USER: "root" - TARGET: "/opt/1panel/apps/openresty/openresty/www/sites/kuizuo.cn/index" + REMOTE_USER: 'root' + TARGET: '/opt/1panel/apps/openresty/openresty/www/sites/kuizuo.cn/index'