From b055851384309601eea6ca15f2e719fc62779728 Mon Sep 17 00:00:00 2001 From: Rojen Maharjan <44132059+rojen11@users.noreply.github.com> Date: Sun, 12 May 2024 02:58:17 -0700 Subject: [PATCH] Update nextjs.yml --- .github/workflows/nextjs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index c184818..9e4d6af 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -72,12 +72,12 @@ jobs: - name: Copy static and public folders run: cp -r public ./.next/standalone && cp -r ./.next/static ./.next/standalone/.next - name: 'Tar files' - run: tar -cvf standalone.tar .next/standalone + run: cd .next && tar -cvf ~/standalone.tar ./standalone - uses: actions/upload-artifact@v4 id: artifact-upload with: name: my-artifact - path: standalone.tar + path: ~/standalone.tar # Deployment job deploy: runs-on: ubuntu-latest