Skip to content

Commit

Permalink
chore(repo): setup gh dev prod (#2476)
Browse files Browse the repository at this point in the history
  • Loading branch information
maurerbot authored Jul 11, 2023
1 parent 8e53834 commit 59564f0
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 13 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-access.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ defaults:
jobs:
deploy:
runs-on: ubuntu-latest
environment: prod
steps:
- uses: actions/checkout@v3

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

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

Expand Down Expand Up @@ -61,17 +62,17 @@ jobs:
SECRET_ZERODEV_PROJECTID
POSTHOG_API_KEY
env:
INTERNAL_GOOGLE_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_GOOGLE_OAUTH_CLIENT_ID_PROD }}
INTERNAL_GOOGLE_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_GOOGLE_OAUTH_CLIENT_ID_PROD }}
SECRET_GOOGLE_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_GOOGLE_OAUTH_CLIENT_SECRET_PROD }}
INTERNAL_GITHUB_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_GITHUB_OAUTH_CLIENT_ID_PROD }}
INTERNAL_GITHUB_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_GITHUB_OAUTH_CLIENT_ID_PROD }}
SECRET_GITHUB_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_GITHUB_OAUTH_CLIENT_SECRET_PROD }}
INTERNAL_TWITTER_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_TWITTER_OAUTH_CLIENT_ID_PROD }}
INTERNAL_TWITTER_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_TWITTER_OAUTH_CLIENT_ID_PROD }}
SECRET_TWITTER_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_TWITTER_OAUTH_CLIENT_SECRET_PROD }}
INTERNAL_MICROSOFT_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_MICROSOFT_OAUTH_CLIENT_ID_PROD }}
INTERNAL_MICROSOFT_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_MICROSOFT_OAUTH_CLIENT_ID_PROD }}
SECRET_MICROSOFT_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_MICROSOFT_OAUTH_CLIENT_SECRET_PROD }}
INTERNAL_APPLE_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_APPLE_OAUTH_CLIENT_ID_PROD }}
INTERNAL_APPLE_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_APPLE_OAUTH_CLIENT_ID_PROD }}
SECRET_APPLE_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_APPLE_OAUTH_CLIENT_SECRET_PROD }}
INTERNAL_DISCORD_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_DISCORD_OAUTH_CLIENT_ID_PROD }}
INTERNAL_DISCORD_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_DISCORD_OAUTH_CLIENT_ID_PROD }}
SECRET_DISCORD_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_DISCORD_OAUTH_CLIENT_SECRET_PROD }}
SECRET_ZERODEV_PROJECTID: ${{secrets.SECRET_ZERODEV_PROJECTID_PROD }}
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY_PROD }}
1 change: 1 addition & 0 deletions .github/workflows/release-console.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ defaults:
jobs:
build-publish-console-current:
runs-on: ubuntu-latest
environment: prod
steps:
- uses: actions/checkout@v2

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

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

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-galaxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ defaults:
jobs:
build-publish-test-galaxy-current:
runs-on: ubuntu-latest
environment: prod
steps:
- uses: actions/checkout@v2

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

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

Expand Down Expand Up @@ -63,16 +64,16 @@ jobs:
SECRET_SESSION_KEY: ${{ secrets.SECRET_SESSION_KEY_PROD }}
SECRET_SESSION_SALT: ${{ secrets.SECRET_SESSION_SALT_PROD }}
APIKEY_ALCHEMY_PUBLIC: ${{ secrets.APIKEY_ALCHEMY_PUBLIC_MAINNET }}
INTERNAL_GOOGLE_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_GOOGLE_OAUTH_CLIENT_ID_PROD }}
INTERNAL_GOOGLE_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_GOOGLE_OAUTH_CLIENT_ID_PROD }}
SECRET_GOOGLE_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_GOOGLE_OAUTH_CLIENT_SECRET_PROD }}
INTERNAL_GITHUB_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_GITHUB_OAUTH_CLIENT_ID_PROD }}
INTERNAL_GITHUB_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_GITHUB_OAUTH_CLIENT_ID_PROD }}
SECRET_GITHUB_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_GITHUB_OAUTH_CLIENT_SECRET_PROD }}
INTERNAL_TWITTER_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_TWITTER_OAUTH_CLIENT_ID_PROD }}
INTERNAL_TWITTER_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_TWITTER_OAUTH_CLIENT_ID_PROD }}
SECRET_TWITTER_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_TWITTER_OAUTH_CLIENT_SECRET_PROD }}
INTERNAL_MICROSOFT_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_MICROSOFT_OAUTH_CLIENT_ID_PROD }}
INTERNAL_MICROSOFT_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_MICROSOFT_OAUTH_CLIENT_ID_PROD }}
SECRET_MICROSOFT_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_MICROSOFT_OAUTH_CLIENT_SECRET_PROD }}
INTERNAL_APPLE_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_APPLE_OAUTH_CLIENT_ID_PROD }}
INTERNAL_APPLE_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_APPLE_OAUTH_CLIENT_ID_PROD }}
SECRET_APPLE_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_APPLE_OAUTH_CLIENT_SECRET_PROD }}
INTERNAL_DISCORD_OAUTH_CLIENT_ID: ${{ secrets.INTERNAL_DISCORD_OAUTH_CLIENT_ID_PROD }}
INTERNAL_DISCORD_OAUTH_CLIENT_ID: ${{ vars.INTERNAL_DISCORD_OAUTH_CLIENT_ID_PROD }}
SECRET_DISCORD_OAUTH_CLIENT_SECRET: ${{ secrets.SECRET_DISCORD_OAUTH_CLIENT_SECRET_PROD }}
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY_PROD }}
3 changes: 2 additions & 1 deletion .github/workflows/release-profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ defaults:
jobs:
build-publish-profile-current:
runs-on: ubuntu-latest
environment: prod
steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -52,7 +53,7 @@ jobs:
env:
SECRET_SESSION_KEY: ${{ secrets.SECRET_SESSION_KEY_PROD }}
SECRET_SESSION_SALT: ${{ secrets.SECRET_SESSION_SALT_PROD }}
PROFILE_CLIENT_ID: ${{ secrets.INTERNAL_PROFILE_OAUTH_CLIENT_ID_CURRENT }}
PROFILE_CLIENT_ID: ${{ vars.INTERNAL_PROFILE_OAUTH_CLIENT_ID_CURRENT }}
PROFILE_CLIENT_SECRET: ${{ secrets.SECRET_PROFILE_OAUTH_CLIENT_SECRET_CURRENT }}
APIKEY_ALCHEMY_ETH: ${{ secrets.APIKEY_ALCHEMY_GALAXY_MAINNET }}
APIKEY_ALCHEMY_POLYGON: ${{ secrets.APIKEY_ALCHEMY_POLYGON_MAINNET }}
1 change: 1 addition & 0 deletions .github/workflows/release-starbase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ defaults:
jobs:
deploy:
runs-on: ubuntu-latest
environment: prod
steps:
- uses: actions/checkout@v3

Expand Down

0 comments on commit 59564f0

Please sign in to comment.