From da4131066afaa0b5775bf6aa2944841c5720df74 Mon Sep 17 00:00:00 2001 From: zyl Date: Fri, 21 Jun 2024 14:51:47 -0700 Subject: [PATCH] fix action? --- .github/workflows/main.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 47bb604..425b47e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,7 +46,15 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: "build" - - name: Deploy to GitHub Pages + path: "./site/build/" + + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to Github Pages id: deployment uses: actions/deploy-pages@v4