From 768d19833ee798b8361c1c7ac39e43777339da48 Mon Sep 17 00:00:00 2001 From: Michael Tiller Date: Thu, 31 Aug 2023 16:59:20 -0400 Subject: [PATCH] ci: use proper output directory --- .github/workflows/build.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 624c635b..770bc7e6 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -64,7 +64,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: korean-site - path: out + path: .next publish_korean_site: runs-on: ubuntu-latest @@ -76,13 +76,14 @@ jobs: run: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Checkout Repository uses: actions/checkout@v3 - - name: Fetch Submodules - run: git submodule update --init --recursive + with: + submodules: recursive - name: Download Korean Site uses: actions/download-artifact@v3 with: name: korean-site + path: .next - name: Install netlify-cli run: npm install -g netlify-cli - name: Deploy Korean Site - run: npx netlify deploy --prod --dir=out + run: npx netlify deploy --prod --dir=.next