From 8c8958f0f51a4a169327062ece43d4b9a0757f26 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 12 Aug 2024 14:18:27 +0800 Subject: [PATCH] chore: restore surge latest version (#50375) --- .github/workflows/preview-deploy.yml | 2 +- .github/workflows/site-deploy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/preview-deploy.yml b/.github/workflows/preview-deploy.yml index 1cd0bbcd5e..374bb714fe 100644 --- a/.github/workflows/preview-deploy.yml +++ b/.github/workflows/preview-deploy.yml @@ -94,7 +94,7 @@ jobs: PR_ID: ${{ steps.pr.outputs.id }} run: | export DEPLOY_DOMAIN=https://preview-${PR_ID}-ant-design.surge.sh - npx surge@0.23.1 --project ./ --domain $DEPLOY_DOMAIN --token ${{ secrets.SURGE_TOKEN }} + npx surge --project ./ --domain $DEPLOY_DOMAIN --token ${{ secrets.SURGE_TOKEN }} - name: success comment uses: actions-cool/maintain-one-comment@v3 diff --git a/.github/workflows/site-deploy.yml b/.github/workflows/site-deploy.yml index 0d29b43616..5e69e82222 100644 --- a/.github/workflows/site-deploy.yml +++ b/.github/workflows/site-deploy.yml @@ -102,7 +102,7 @@ jobs: run: | export DEPLOY_DOMAIN=ant-design-${{ steps.publish-version.outputs.VERSION }}.surge.sh cp report.html ./_site - npx surge@0.23.1 --project ./_site --domain $DEPLOY_DOMAIN --token ${{ secrets.SURGE_TOKEN }} + npx surge --project ./_site --domain $DEPLOY_DOMAIN --token ${{ secrets.SURGE_TOKEN }} - name: Create Commit Comment uses: peter-evans/commit-comment@v3