From bbb38550a37b5ffd9ffe4385a13afbb0d21d848d Mon Sep 17 00:00:00 2001 From: Jaemin Choi <1dotolee@gmail.com> Date: Mon, 20 May 2024 21:06:45 -0700 Subject: [PATCH] fix: upload build artifact to pages --- .github/workflows/deploy.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index deb988a..05886fc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,5 +20,13 @@ jobs: - uses: actions/checkout@v4 - uses: skkuding/codedang/.github/actions/setup-pnpm@main + - name: Build documentation + run: pnpm build + + - name: Upload Pages Artifact + uses: actions/upload-pages-artifact@v3 + with: + path: .vitepress/dist + - name: Deploy to GitHub Pages uses: actions/deploy-pages@v4