Skip to content

Commit

Permalink
chore(repo): setup gh next env (#2475)
Browse files Browse the repository at this point in the history
* chore(repo): setup gh next env
  • Loading branch information
maurerbot authored Jul 11, 2023
1 parent 55b4890 commit 8e53834
Show file tree
Hide file tree
Showing 14 changed files with 37 additions and 26 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main-address.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@ jobs:
POSTHOG_API_KEY
env:
NODE_ENV: 'development'
INTERNAL_GOOGLE_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_GOOGLE_OAUTH_CLIENT_ID_DEV }}
INTERNAL_GOOGLE_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_GOOGLE_OAUTH_CLIENT_ID_DEV }}
SECRET_GOOGLE_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_GOOGLE_OAUTH_CLIENT_SECRET_DEV }}
INTERNAL_GITHUB_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_GITHUB_OAUTH_CLIENT_ID_DEV }}
INTERNAL_GITHUB_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_GITHUB_OAUTH_CLIENT_ID_DEV }}
SECRET_GITHUB_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_GITHUB_OAUTH_CLIENT_SECRET_DEV }}
INTERNAL_TWITTER_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_TWITTER_OAUTH_CLIENT_ID_DEV }}
INTERNAL_TWITTER_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_TWITTER_OAUTH_CLIENT_ID_DEV }}
SECRET_TWITTER_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_TWITTER_OAUTH_CLIENT_SECRET_DEV }}
INTERNAL_MICROSOFT_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_MICROSOFT_OAUTH_CLIENT_ID_DEV }}
INTERNAL_MICROSOFT_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_MICROSOFT_OAUTH_CLIENT_ID_DEV }}
SECRET_MICROSOFT_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_MICROSOFT_OAUTH_CLIENT_SECRET_DEV }}
INTERNAL_APPLE_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_APPLE_OAUTH_CLIENT_ID_DEV }}
INTERNAL_APPLE_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_APPLE_OAUTH_CLIENT_ID_DEV }}
SECRET_APPLE_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_APPLE_OAUTH_CLIENT_SECRET_DEV }}
INTERNAL_DISCORD_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_DISCORD_OAUTH_CLIENT_ID_DEV }}
INTERNAL_DISCORD_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_DISCORD_OAUTH_CLIENT_ID_DEV }}
SECRET_DISCORD_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_DISCORD_OAUTH_CLIENT_SECRET_DEV }}
SECRET_ZERODEV_PROJECTID: ${{secrets.SECRET_ZERODEV_PROJECTID_DEV }}
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY_DEV }}
12 changes: 6 additions & 6 deletions .github/workflows/main-passport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,17 @@ jobs:
SECRET_SESSION_KEY: ${{ secrets.SECRET_SESSION_KEY_DEV }}
SECRET_SESSION_SALT: ${{ secrets.SECRET_SESSION_SALT_DEV }}
APIKEY_ALCHEMY_PUBLIC: ${{ secrets.APIKEY_ALCHEMY_PUBLIC_GOERLI }}
INTERNAL_GOOGLE_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_GOOGLE_OAUTH_CLIENT_ID_DEV }}
INTERNAL_GOOGLE_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_GOOGLE_OAUTH_CLIENT_ID_DEV }}
SECRET_GOOGLE_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_GOOGLE_OAUTH_CLIENT_SECRET_DEV }}
INTERNAL_GITHUB_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_GITHUB_OAUTH_CLIENT_ID_DEV }}
INTERNAL_GITHUB_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_GITHUB_OAUTH_CLIENT_ID_DEV }}
SECRET_GITHUB_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_GITHUB_OAUTH_CLIENT_SECRET_DEV }}
INTERNAL_TWITTER_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_TWITTER_OAUTH_CLIENT_ID_DEV }}
INTERNAL_TWITTER_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_TWITTER_OAUTH_CLIENT_ID_DEV }}
SECRET_TWITTER_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_TWITTER_OAUTH_CLIENT_SECRET_DEV }}
INTERNAL_MICROSOFT_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_MICROSOFT_OAUTH_CLIENT_ID_DEV }}
INTERNAL_MICROSOFT_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_MICROSOFT_OAUTH_CLIENT_ID_DEV }}
SECRET_MICROSOFT_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_MICROSOFT_OAUTH_CLIENT_SECRET_DEV }}
INTERNAL_APPLE_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_APPLE_OAUTH_CLIENT_ID_DEV }}
INTERNAL_APPLE_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_APPLE_OAUTH_CLIENT_ID_DEV }}
SECRET_APPLE_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_APPLE_OAUTH_CLIENT_SECRET_DEV }}
INTERNAL_DISCORD_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_DISCORD_OAUTH_CLIENT_ID_DEV }}
INTERNAL_DISCORD_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_DISCORD_OAUTH_CLIENT_ID_DEV }}
SECRET_DISCORD_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_DISCORD_OAUTH_CLIENT_SECRET_DEV }}
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY_DEV }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
NODE_ENV: 'development'
SECRET_SESSION_KEY: ${{ secrets.SECRET_SESSION_KEY_DEV }}
SECRET_SESSION_SALT: ${{ secrets.SECRET_SESSION_SALT_DEV }}
PROFILE_CLIENT_ID: ${{ secrets.INTERNAL_PROFILE_OAUTH_CLIENT_ID_DEV }}
PROFILE_CLIENT_ID: ${{ vars.INTERNAL_PROFILE_OAUTH_CLIENT_ID_DEV }}
PROFILE_CLIENT_SECRET: ${{ secrets.SECRET_PROFILE_OAUTH_CLIENT_SECRET_DEV }}
APIKEY_ALCHEMY_ETH: ${{ secrets.APIKEY_ALCHEMY_GALAXY_MAINNET }}
APIKEY_ALCHEMY_POLYGON: ${{ secrets.APIKEY_ALCHEMY_POLYGON_MAINNET }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/next-access.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ defaults:
jobs:
deploy:
runs-on: ubuntu-latest
environment: next
steps:
- uses: actions/checkout@v3

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/next-account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ defaults:
jobs:
deploy:
runs-on: ubuntu-latest
environment: next
steps:
- uses: actions/checkout@v3

Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/next-address.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ defaults:
jobs:
deploy:
runs-on: ubuntu-latest
environment: next
steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -62,17 +63,17 @@ jobs:
SECRET_ZERODEV_PROJECTID
POSTHOG_API_KEY
env:
INTERNAL_GOOGLE_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_GOOGLE_OAUTH_CLIENT_ID_TEST }}
INTERNAL_GOOGLE_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_GOOGLE_OAUTH_CLIENT_ID_TEST }}
SECRET_GOOGLE_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_GOOGLE_OAUTH_CLIENT_SECRET_TEST }}
INTERNAL_GITHUB_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_GITHUB_OAUTH_CLIENT_ID_TEST }}
INTERNAL_GITHUB_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_GITHUB_OAUTH_CLIENT_ID_TEST }}
SECRET_GITHUB_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_GITHUB_OAUTH_CLIENT_SECRET_TEST }}
INTERNAL_TWITTER_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_TWITTER_OAUTH_CLIENT_ID_TEST }}
INTERNAL_TWITTER_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_TWITTER_OAUTH_CLIENT_ID_TEST }}
SECRET_TWITTER_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_TWITTER_OAUTH_CLIENT_SECRET_TEST }}
INTERNAL_MICROSOFT_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_MICROSOFT_OAUTH_CLIENT_ID_TEST }}
INTERNAL_MICROSOFT_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_MICROSOFT_OAUTH_CLIENT_ID_TEST }}
SECRET_MICROSOFT_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_MICROSOFT_OAUTH_CLIENT_SECRET_TEST }}
INTERNAL_APPLE_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_APPLE_OAUTH_CLIENT_ID_TEST }}
INTERNAL_APPLE_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_APPLE_OAUTH_CLIENT_ID_TEST }}
SECRET_APPLE_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_APPLE_OAUTH_CLIENT_SECRET_TEST }}
INTERNAL_DISCORD_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_DISCORD_OAUTH_CLIENT_ID_TEST }}
INTERNAL_DISCORD_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_DISCORD_OAUTH_CLIENT_ID_TEST }}
SECRET_DISCORD_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_DISCORD_OAUTH_CLIENT_SECRET_TEST }}
SECRET_ZERODEV_PROJECTID: ${{secrets.SECRET_ZERODEV_PROJECTID_TEST }}
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY_TEST }}
1 change: 1 addition & 0 deletions .github/workflows/next-console.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ defaults:
jobs:
build-publish-test-console-next:
runs-on: ubuntu-latest
environment: next
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/next-edges.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ defaults:
jobs:
deploy:
runs-on: ubuntu-latest
environment: next
steps:
- uses: actions/checkout@v3

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/next-email.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ defaults:
jobs:
deploy:
runs-on: ubuntu-latest
environment: next
steps:
- uses: actions/checkout@v3

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/next-galaxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ defaults:
jobs:
build-publish-test-galaxy-next:
runs-on: ubuntu-latest
environment: next
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/next-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ defaults:
jobs:
deploy:
runs-on: ubuntu-latest
environment: next
steps:
- uses: actions/checkout@v3

Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/next-passport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ defaults:
jobs:
build-publish-test-passport-next:
runs-on: ubuntu-latest
environment: next
steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -67,16 +68,16 @@ jobs:
SECRET_SESSION_KEY: ${{ secrets.SECRET_SESSION_KEY_TEST }}
SECRET_SESSION_SALT: ${{ secrets.SECRET_SESSION_SALT_TEST }}
APIKEY_ALCHEMY_PUBLIC: ${{ secrets.APIKEY_ALCHEMY_PUBLIC_GOERLI }}
INTERNAL_GOOGLE_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_GOOGLE_OAUTH_CLIENT_ID_TEST }}
INTERNAL_GOOGLE_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_GOOGLE_OAUTH_CLIENT_ID_TEST }}
SECRET_GOOGLE_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_GOOGLE_OAUTH_CLIENT_SECRET_TEST }}
INTERNAL_GITHUB_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_GITHUB_OAUTH_CLIENT_ID_TEST }}
INTERNAL_GITHUB_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_GITHUB_OAUTH_CLIENT_ID_TEST }}
SECRET_GITHUB_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_GITHUB_OAUTH_CLIENT_SECRET_TEST }}
INTERNAL_TWITTER_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_TWITTER_OAUTH_CLIENT_ID_TEST }}
INTERNAL_TWITTER_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_TWITTER_OAUTH_CLIENT_ID_TEST }}
SECRET_TWITTER_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_TWITTER_OAUTH_CLIENT_SECRET_TEST }}
INTERNAL_MICROSOFT_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_MICROSOFT_OAUTH_CLIENT_ID_TEST }}
INTERNAL_MICROSOFT_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_MICROSOFT_OAUTH_CLIENT_ID_TEST }}
SECRET_MICROSOFT_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_MICROSOFT_OAUTH_CLIENT_SECRET_TEST }}
INTERNAL_APPLE_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_APPLE_OAUTH_CLIENT_ID_TEST }}
INTERNAL_APPLE_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_APPLE_OAUTH_CLIENT_ID_TEST }}
SECRET_APPLE_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_APPLE_OAUTH_CLIENT_SECRET_TEST }}
INTERNAL_DISCORD_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_DISCORD_OAUTH_CLIENT_ID_TEST }}
INTERNAL_DISCORD_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_DISCORD_OAUTH_CLIENT_ID_TEST }}
SECRET_DISCORD_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_DISCORD_OAUTH_CLIENT_SECRET_TEST }}
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY_TEST }}
3 changes: 2 additions & 1 deletion .github/workflows/next-profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ defaults:
jobs:
build-publish-test-profile-next:
runs-on: ubuntu-latest
environment: next
steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -56,7 +57,7 @@ jobs:
env:
SECRET_SESSION_KEY: ${{ secrets.SECRET_SESSION_KEY_TEST }}
SECRET_SESSION_SALT: ${{ secrets.SECRET_SESSION_SALT_TEST }}
PROFILE_CLIENT_ID: ${{ secrets.INTERNAL_PROFILE_OAUTH_CLIENT_ID_NEXT }}
PROFILE_CLIENT_ID: ${{ vars.INTERNAL_PROFILE_OAUTH_CLIENT_ID_NEXT }}
PROFILE_CLIENT_SECRET: ${{ secrets.SECRET_PROFILE_OAUTH_CLIENT_SECRET_NEXT }}
APIKEY_ALCHEMY_ETH: ${{ secrets.APIKEY_ALCHEMY_GALAXY_MAINNET }}
APIKEY_ALCHEMY_POLYGON: ${{ secrets.APIKEY_ALCHEMY_POLYGON_MAINNET }}
1 change: 1 addition & 0 deletions .github/workflows/next-starbase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ defaults:
jobs:
deploy:
runs-on: ubuntu-latest
environment: next
steps:
- uses: actions/checkout@v3

Expand Down

0 comments on commit 8e53834

Please sign in to comment.