From ff12f75c4631dc12d4149f05565d02176c1c06af Mon Sep 17 00:00:00 2001 From: Leo dev Date: Tue, 25 Jun 2024 14:55:24 +0200 Subject: [PATCH] fix8 --- .github/workflows/nextjs.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 41cf3de..9b77b68 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -67,23 +67,8 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - name: Download Artifacts - uses: actions/download-artifact@v3 - with: - name: nextjs-build - path: . - - - name: Extract Artifact - run: tar xzf nextjs-build.tar.gz - - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./ # Adjust this to the directory containing your built site - publish_branch: gh-pages # Or 'master' if you prefer to serve from the master branch - allow_empty_commit: true - keep_files: false - force_orphan: true - enable_jekyll: false - disable_nojekyll: true + publish_dir: .next