From 0938f0ac95545a8a6418cf63b745f8434bcaf181 Mon Sep 17 00:00:00 2001 From: Justin Wallace Date: Sat, 9 Dec 2023 09:51:52 -0800 Subject: [PATCH] fix: needs build (#3) --- .github/workflows/deploy-docs.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index a4f565a..30e78a6 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -30,6 +30,7 @@ jobs: run: yarn build deploy: + needs: build environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} @@ -42,7 +43,7 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: - path: '~/docs/dist' + path: './docs/dist' - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v3