diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65212d7..1c9e63e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,9 +29,9 @@ jobs: if: steps.build-cache.outputs.cache-hit != 'true' run: yarn turbo build env: - NEXT_PUBLIC_AIRTABLE_API_KEY: ${{ vars.NEXT_PUBLIC_AIRTABLE_API_KEY }} - NEXT_PUBLIC_AIRTABLE_BASE_INQUIRYFORM: ${{ vars.NEXT_PUBLIC_AIRTABLE_BASE_INQUIRYFORM }} - NEXT_PUBLIC_AIRTABLE_TABLE_INQUIRYFORM: ${{ vars.NEXT_PUBLIC_AIRTABLE_TABLE_INQUIRYFORM }} + NEXT_PUBLIC_AIRTABLE_API_KEY: ${{ secrets.NEXT_PUBLIC_AIRTABLE_API_KEY }} + NEXT_PUBLIC_AIRTABLE_BASE_INQUIRYFORM: ${{ secrets.NEXT_PUBLIC_AIRTABLE_BASE_INQUIRYFORM }} + NEXT_PUBLIC_AIRTABLE_TABLE_INQUIRYFORM: ${{ secrets.NEXT_PUBLIC_AIRTABLE_TABLE_INQUIRYFORM }} concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 635199d..eb48ca6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,9 +36,9 @@ jobs: run: yarn build-static env: NODE_ENV: production - NEXT_PUBLIC_AIRTABLE_API_KEY: ${{ vars.NEXT_PUBLIC_AIRTABLE_API_KEY }} - NEXT_PUBLIC_AIRTABLE_BASE_INQUIRYFORM: ${{ vars.NEXT_PUBLIC_AIRTABLE_BASE_INQUIRYFORM }} - NEXT_PUBLIC_AIRTABLE_TABLE_INQUIRYFORM: ${{ vars.NEXT_PUBLIC_AIRTABLE_TABLE_INQUIRYFORM }} + NEXT_PUBLIC_AIRTABLE_API_KEY: ${{ secrets.NEXT_PUBLIC_AIRTABLE_API_KEY }} + NEXT_PUBLIC_AIRTABLE_BASE_INQUIRYFORM: ${{ secrets.NEXT_PUBLIC_AIRTABLE_BASE_INQUIRYFORM }} + NEXT_PUBLIC_AIRTABLE_TABLE_INQUIRYFORM: ${{ secrets.NEXT_PUBLIC_AIRTABLE_TABLE_INQUIRYFORM }} - name: Upload artifact uses: actions/upload-pages-artifact@v3 diff --git a/next.config.js b/next.config.js index bd18766..6ca4131 100644 --- a/next.config.js +++ b/next.config.js @@ -2,7 +2,7 @@ const nextConfig = { reactStrictMode: true, - basePath: process.env.NODE_ENV === "production" ? "/archived_site" : "", + basePath: process.env.NODE_ENV === "production" ? "/website" : "", // i18n: { locales: ['en', 'ja'], defaultLocale: 'en', localeDetection: false }, compiler: { emotion: true, @@ -14,11 +14,6 @@ const nextConfig = { destination: "https://www.ethtokyo.com", permanent: true, }, - // { - // source: "/*", - // destination: "https://www.ethtokyo.com/", - // permanent: true, - // }, ]; }, };