From c089f7a070a7082727547240f189b5b55f07e9e5 Mon Sep 17 00:00:00 2001 From: Viper <36717692+xvpc@users.noreply.github.com> Date: Sun, 3 Mar 2024 11:31:45 +0300 Subject: [PATCH] Update nextjs.yml --- .github/workflows/nextjs.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index b4aa81d..c67472b 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -28,3 +28,14 @@ jobs: name: nextjs-build path: ./out + # Deployment job + 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