From 192de835f23544559e42646df2ff72b3aca6ae9c Mon Sep 17 00:00:00 2001 From: Phyuany Date: Thu, 7 Nov 2024 01:04:58 +0800 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a6abd72..b99efb4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -43,11 +43,10 @@ jobs: gulp dist --codelabs-dir=codelabs # 运行打包命令 # Step 5: Upload dist folder - - name: Upload static files as artifact - id: deployment - uses: actions/upload-pages-artifact@v3 # or specific "vX.X.X" version tag for this action + - name: Upload dist directory as artifact + uses: actions/upload-pages-artifact@v1 with: - path: dist/ + path: ./dist # 上传 dist 目录中的内容 # Deployment job deploy: