diff --git a/.github/workflows/deploy_ghpages.yml b/.github/workflows/deploy_ghpages.yml index 757d14e..e15eded 100644 --- a/.github/workflows/deploy_ghpages.yml +++ b/.github/workflows/deploy_ghpages.yml @@ -3,10 +3,10 @@ name: Automatic deploy to GHPages on: push: branches: - - main + - release pull_request: branches: - - main + - release # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: @@ -59,6 +59,6 @@ jobs: runs-on: ubuntu-latest steps: - name: Deploy to GitHub Pages - if: ${{ ! github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }} + if: ${{ ! github.event_name != 'pull_request' && github.ref == 'refs/heads/release' }} id: deployment uses: actions/deploy-pages@v4 diff --git a/next.config.js b/next.config.js index 56239b8..e3da1eb 100644 --- a/next.config.js +++ b/next.config.js @@ -1,7 +1,11 @@ /** @type {import('next').NextConfig} */ const nextConfig = { + output: "export", reactStrictMode: false, swcMinify: true, + images: { + unoptimized: true, + }, }; module.exports = nextConfig;