Design fixes #50
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# To get started with Next.js see: https://nextjs.org/docs/getting-started
|
# To get started with Next.js see: https://nextjs.org/docs/getting-started
|
||||||
#
|
#
|
||||||
name: Deploy Next.js site to Pages
|
name: Build Next.js site
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
@@ -11,12 +11,6 @@ on:
|
|||||||
# Automatically run on Pull Request
|
# Automatically run on Pull Request
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
# 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.
|
# 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.
|
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
||||||
concurrency:
|
concurrency:
|
||||||
@@ -52,14 +46,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: "20"
|
node-version: "20"
|
||||||
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
||||||
- name: Setup Pages
|
|
||||||
uses: actions/configure-pages@v5
|
|
||||||
with:
|
|
||||||
# Automatically inject basePath in your Next.js configuration file and disable
|
|
||||||
# server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
|
|
||||||
#
|
|
||||||
# You may remove this line if you want to manage the configuration yourself.
|
|
||||||
static_site_generator: next
|
|
||||||
- name: Restore cache
|
- name: Restore cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
@@ -74,7 +60,3 @@ jobs:
|
|||||||
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
|
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
|
||||||
- name: Build with Next.js
|
- name: Build with Next.js
|
||||||
run: ${{ steps.detect-package-manager.outputs.runner }} next build
|
run: ${{ steps.detect-package-manager.outputs.runner }} next build
|
||||||
- name: Upload artifact
|
|
||||||
uses: actions/upload-pages-artifact@v3
|
|
||||||
with:
|
|
||||||
path: ./out
|
|
||||||
Reference in New Issue
Block a user