From a2f7a1adc43973032c2cbd4e0eae584163f9e4c8 Mon Sep 17 00:00:00 2001 From: Jish2 Date: Fri, 17 Nov 2023 08:04:37 -0600 Subject: [PATCH] update upload artifact --- .github/workflows/deploy-next.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy-next.yml b/.github/workflows/deploy-next.yml index 7212ae3..acb5959 100644 --- a/.github/workflows/deploy-next.yml +++ b/.github/workflows/deploy-next.yml @@ -53,21 +53,17 @@ jobs: # Each build will OVERWRITE this branch. # target-branch: gh-pages-test + - name: Upload artifact + uses: actions/upload-pages-artifact@v2 + with: + path: client/out + deployment: runs-on: ubuntu-latest environment: name: production url: https://github.com steps: - - name: Upload a Build Artifact - uses: actions/upload-artifact@v3.1.3 - with: - # Artifact name - # name: # optional, default is artifact - # A file, directory or wildcard pattern that describes what to upload - path: arti - # The desired behavior if no files are found using the provided path. - - name: Deploy to github pages id: deployment uses: actions/deploy-pages@v2