Skip to content

Commit

Permalink
Update nextjs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rishinrahim committed Jan 26, 2025
1 parent e0a22d8 commit b51a66b
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
# Inspired from https://github.com/actions/starter-workflows/blob/main/pages/nextjs.yml
# Sample workflow for building and deploying a Next.js site to GitHub Pages
#
# To get started with Next.js see: https://nextjs.org/docs/getting-started
#
name: GitHub Pages

on:
# Runs on pushes targeting the default branch
push:
branches: main
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: 'pages'
group: "pages"
cancel-in-progress: false

jobs:
Expand Down

0 comments on commit b51a66b

Please sign in to comment.