Skip to content

Commit

Permalink
fix 12?
Browse files Browse the repository at this point in the history
  • Loading branch information
Jish2 committed Nov 17, 2023
1 parent 3645aa4 commit e1c3eff
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/deploy-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit e1c3eff

Please sign in to comment.