From 5ecfcaf1e3381f2ffb1f87a8a96ce1db37ab71f0 Mon Sep 17 00:00:00 2001 From: SinusFox <61253950+SinusFox@users.noreply.github.com> Date: Fri, 11 Oct 2024 16:00:28 +0200 Subject: [PATCH] Update nextjsbuildonly.yml --- .github/workflows/nextjsbuildonly.yml | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/.github/workflows/nextjsbuildonly.yml b/.github/workflows/nextjsbuildonly.yml index 8c34fe3..11137fb 100644 --- a/.github/workflows/nextjsbuildonly.yml +++ b/.github/workflows/nextjsbuildonly.yml @@ -2,7 +2,7 @@ # # 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: # Allows you to run this workflow manually from the Actions tab @@ -11,12 +11,6 @@ on: # Automatically run on 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. # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. concurrency: @@ -52,14 +46,6 @@ jobs: with: node-version: "20" 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 uses: actions/cache@v4 with: @@ -74,7 +60,3 @@ jobs: run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }} - name: Build with Next.js run: ${{ steps.detect-package-manager.outputs.runner }} next build - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: ./out \ No newline at end of file