From 18015d63628554a45059ade45ae75cff61b27a28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Berkan=20=C3=9Cm=C3=BCtl=C3=BC?= <39056881+berkanumutlu@users.noreply.github.com> Date: Thu, 7 Nov 2024 17:25:28 +0300 Subject: [PATCH] Update nextjs.yml - Removed Github Pages --- .github/workflows/nextjs.yml | 38 ++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index b945ed3..97520de 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -21,7 +21,7 @@ permissions: # 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: "deploy" # or pages cancel-in-progress: false jobs: @@ -53,14 +53,14 @@ jobs: with: node-version: "20" cache: ${{ steps.detect-package-manager.outputs.manager }} - - name: Setup Pages - uses: actions/configure-pages@v5 - with: + #- 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 + # static_site_generator: next - name: Restore cache uses: actions/cache@v4 with: @@ -77,19 +77,19 @@ jobs: run: ${{ steps.detect-package-manager.outputs.runner }} test - 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 + #- name: Upload artifact + # uses: actions/upload-pages-artifact@v3 + # with: + # path: ./out # Deployment job - 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@v4 + #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@v4