From af3413e3c580efd438ea2a1fa8766ec8f677f817 Mon Sep 17 00:00:00 2001 From: Michael Tamaki Date: Tue, 23 Jan 2024 05:52:07 +0000 Subject: [PATCH] michaels ace in the hole --- .github/workflows/nextjs.yml | 35 +++++++++++++++++++---------------- next.config.js | 1 + 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 541cc87..65b1b3d 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -4,13 +4,16 @@ # name: Deploy Next.js site to Pages +# on: +# # Runs on pushes targeting the default branch +# push: +# branches: ["main"] + on: - # Runs on pushes targeting the default branch - push: - branches: ["main"] + [push] - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: + # # 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: @@ -82,14 +85,14 @@ jobs: 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@v2 + # # 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@v2 diff --git a/next.config.js b/next.config.js index 79ab98a..8be709e 100644 --- a/next.config.js +++ b/next.config.js @@ -3,6 +3,7 @@ const nextConfig = { reactStrictMode: true, images: { domains: ["avatars.githubusercontent.com"], + unoptimized: true, }, };