From f2b0960e6a3a9c199d95cdfbfc2907217d4a0fee Mon Sep 17 00:00:00 2001 From: mrsingsing Date: Tue, 19 Dec 2023 01:22:32 +0800 Subject: [PATCH] chore: change action names --- .github/workflows/deploy.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c788ef7d4..acd046694 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,16 +9,14 @@ jobs: build-and-deploy: runs-on: ubuntu-latest steps: - - name: Ready to build and deploy 🤓 - uses: fifsky/dingtalk-action@master - with: - url: ${{ secrets.DINGTALK_WEBHOOK }} - type: text - content: Github:JavaScript-Guidebook 构建开始 - name: Checkout 🛎️ uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. with: persist-credentials: false + - name: Set Node Version + uses: actions/setup-node@v3 + with: + node-version: '14.21.2' - name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. run: | yarn install @@ -30,9 +28,3 @@ jobs: BRANCH: gh-pages # The branch the action should deploy to. FOLDER: dist # The folder the action should deploy. CLEAN: true - - name: Complete ✅ - uses: fifsky/dingtalk-action@master - with: - url: ${{ secrets.DINGTALK_WEBHOOK }} - type: text - content: Github:JavaScript-Guidebook 构建完成