From e0792e9b598720f9465395f8ad653fc880a9f84c Mon Sep 17 00:00:00 2001 From: lawvs <18554747+lawvs@users.noreply.github.com> Date: Fri, 23 Sep 2022 15:42:40 +0800 Subject: [PATCH] fix: artifact --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 00390a6d9..149b1652c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,7 +59,7 @@ jobs: run: pnpm export - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-artifact@v3 with: path: ./out @@ -82,9 +82,10 @@ jobs: - name: Check out the repo uses: actions/checkout@v2 - - uses: actions/download-artifact@v3 + - name: Download artifact + uses: actions/download-artifact@v3 with: - path: out + path: out/ - name: Log in to Docker Hub uses: docker/login-action@v2 @@ -117,7 +118,6 @@ jobs: # # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages # permissions: - # contents: read # pages: write # id-token: write