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