From 6b16f0f76e49e838c58f25eb8e40332f01a72325 Mon Sep 17 00:00:00 2001 From: Jorge Luis Calleja Alvarado Date: Wed, 21 Aug 2024 02:38:13 -0600 Subject: [PATCH] refactor(core): Rename vas and secrets --- .github/workflows/playwright.yml | 14 +++++++------- .github/workflows/pull_request_stats.yml | 14 +++++++------- .github/workflows/release.yml | 14 +++++++------- README.md | 2 +- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 492681e..cee3973 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -11,17 +11,17 @@ on: - main env: PNPM_VERSION: ${{ vars.PNPM_VERSION }} - GITHUB_ID: ${{ secrets.X_GITHUB_ID }} - GITHUB_SECRET: ${{ secrets.X_GITHUB_SECRET }} - SECRET: ${{ secrets.SECRET }} - NEXTAUTH_URL: ${{ vars.NEXTAUTH_URL }} NODE_VERSION: ${{ vars.NODE_VERSION }} - RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }} - RESEND_DOMAIN: ${{ vars.RESEND_DOMAIN }} + NEXT_PUBLIC_API_URL_BASE: ${{ vars.NEXT_PUBLIC_API_URL_BASE }} NEXT_PUBLIC_SITE_URL: ${{ vars.NEXT_PUBLIC_SITE_URL }} SITE_NAME: ${{ vars.SITE_NAME }} - SITE_URL: ${{ vars.SITE_URL }} TWITTER_CREATOR: ${{ vars.TWITTER_CREATOR }} + SITE_URL: ${{ vars.SITE_URL }} + RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }} + RESEND_DOMAIN: ${{ vars.RESEND_DOMAIN }} + AUTH_GITHUB_ID: ${{ secrets.AUTH_GITHUB_ID }} + AUTH_GITHUB_SECRET: ${{ secrets.AUTH_GITHUB_SECRET }} + AUTH_SECRET: ${{ secrets.AUTH_SECRET }} jobs: test: diff --git a/.github/workflows/pull_request_stats.yml b/.github/workflows/pull_request_stats.yml index 7e1ed09..8d59cbd 100644 --- a/.github/workflows/pull_request_stats.yml +++ b/.github/workflows/pull_request_stats.yml @@ -8,17 +8,17 @@ on: env: PNPM_VERSION: ${{ vars.PNPM_VERSION }} - GITHUB_ID: ${{ secrets.X_GITHUB_ID }} - GITHUB_SECRET: ${{ secrets.X_GITHUB_SECRET }} - SECRET: ${{ secrets.SECRET }} - NEXTAUTH_URL: ${{ vars.NEXTAUTH_URL }} NODE_VERSION: ${{ vars.NODE_VERSION }} - RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }} - RESEND_DOMAIN: ${{ vars.RESEND_DOMAIN }} + NEXT_PUBLIC_API_URL_BASE: ${{ vars.NEXT_PUBLIC_API_URL_BASE }} NEXT_PUBLIC_SITE_URL: ${{ vars.NEXT_PUBLIC_SITE_URL }} SITE_NAME: ${{ vars.SITE_NAME }} - SITE_URL: ${{ vars.SITE_URL }} TWITTER_CREATOR: ${{ vars.TWITTER_CREATOR }} + SITE_URL: ${{ vars.SITE_URL }} + RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }} + RESEND_DOMAIN: ${{ vars.RESEND_DOMAIN }} + AUTH_GITHUB_ID: ${{ secrets.AUTH_GITHUB_ID }} + AUTH_GITHUB_SECRET: ${{ secrets.AUTH_GITHUB_SECRET }} + AUTH_SECRET: ${{ secrets.AUTH_SECRET }} jobs: format: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21eb834..4d75919 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,17 +7,17 @@ on: env: PNPM_VERSION: ${{ vars.PNPM_VERSION }} - GITHUB_ID: ${{ secrets.X_GITHUB_ID }} - GITHUB_SECRET: ${{ secrets.X_GITHUB_SECRET }} - SECRET: ${{ secrets.SECRET }} - NEXTAUTH_URL: ${{ vars.NEXTAUTH_URL }} NODE_VERSION: ${{ vars.NODE_VERSION }} - RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }} - RESEND_DOMAIN: ${{ vars.RESEND_DOMAIN }} + NEXT_PUBLIC_API_URL_BASE: ${{ vars.NEXT_PUBLIC_API_URL_BASE }} NEXT_PUBLIC_SITE_URL: ${{ vars.NEXT_PUBLIC_SITE_URL }} SITE_NAME: ${{ vars.SITE_NAME }} - SITE_URL: ${{ vars.SITE_URL }} TWITTER_CREATOR: ${{ vars.TWITTER_CREATOR }} + SITE_URL: ${{ vars.SITE_URL }} + RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }} + RESEND_DOMAIN: ${{ vars.RESEND_DOMAIN }} + AUTH_GITHUB_ID: ${{ secrets.AUTH_GITHUB_ID }} + AUTH_GITHUB_SECRET: ${{ secrets.AUTH_GITHUB_SECRET }} + AUTH_SECRET: ${{ secrets.AUTH_SECRET }} jobs: stats: diff --git a/README.md b/README.md index f7b0272..f3e98a3 100755 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ - 🔥 Mocking via [msw](https://mswjs.io/) [WIP] -- 🛡️ Authentication for Next.js [NextAuth](https://next-auth.js.org/) +- 🛡️ Authentication [authjs](https://authjs.dev/) - ✉️ Send emails with [Resend](https://resend.com) and [@react-email](https://react.email/docs/integrations/resend)