From e1c3eff6d869ab3b09ecb5ac9739163a2d57c0f6 Mon Sep 17 00:00:00 2001 From: Jish2 Date: Fri, 17 Nov 2023 02:44:22 -0600 Subject: [PATCH] fix 12? --- .github/workflows/deploy-next.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-next.yml b/.github/workflows/deploy-next.yml index b3bced1..a89ed41 100644 --- a/.github/workflows/deploy-next.yml +++ b/.github/workflows/deploy-next.yml @@ -10,8 +10,13 @@ on: # NOTE: You may want to limit the trigger branch to be "main" or "master" etc. workflow_dispatch: +permissions: + contents: read + pages: write + id-token: write + jobs: - publish: + build: runs-on: ubuntu-latest steps: - name: Check out @@ -46,5 +51,13 @@ jobs: # Each build will OVERWRITE this branch. # target-branch: prod - - name: Deploy to GitHub Pages - uses: actions/deploy-pages@v2 + 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@v2