-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0397aa
commit 6d3b512
Showing
6 changed files
with
56 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
PORT= | ||
VITE_ENVIRONMENT= | ||
|
||
VITE_WEB3_CLIENT_ID= | ||
VITE_PIMLICO= | ||
|
||
VITE_RPC= | ||
VITE_MMC_ADDRESS= | ||
VITE_AGREEMENT_PORTAL_ADDRESS= | ||
VITE_SUBSCRIPTION_POLICY_ADDRESS= | ||
VITE_RIGHT_POLICY_AUTHORIZER= | ||
VITE_SENTRY_AUTH_TOKEN= | ||
VITE_SENTRY_DNS= | ||
VITE_PINATA_API_KEY= | ||
VITE_PINATA_SECRET_API_KEY= | ||
VITE_SUPABASE_API_KEY= | ||
VITE_SUPABASE_URL= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#/-------------------.env.vault---------------------/ | ||
#/ cloud-agnostic vaulting standard / | ||
#/ [how it works](https://dotenv.org/env-vault) / | ||
#/--------------------------------------------------/ | ||
|
||
# development | ||
DOTENV_VAULT_DEVELOPMENT="Z/VbltnMze9cYXUM3tDf3x9oXUDrBaespVzFFt7zEz76MxExe1rf30Sm52AuD07OBdSEkH9Yxm0IjLxCOme875JHDV2k/779zwIq38ejzk2vMr4tMgFc8r+mHM0MYYra7fsslrIBRGZH8CUlzb3M8fNdJh3Ty3c5Zq3FwAGdh/SGKdzkMuXKY4h4E41s/i2hBlaYQ7b6jjIWlU+ROcoKeoVQQhobgiNvyVa74nGbmMyiFe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Qic9M7nezYmLdDXXS41V/4xhijjtgNKHa5QZsq/RBCWc7IP3+0HgTjB4Y4yfxPs3cLlgHoQSRMc6fkjJlSVxuJ766fr6cH4eppxqOYB6tLk/H2mctq1+kYOnMSxboKVZBWO8DJwNQbZ1E+1Np8F5MZiYDHnX6N74hWx3qBmllFzWOKZpVUTXdyFhMZdxBQWJtsPHN5x5RQrcXyf77x7Mwzjir9wT6FMp71Y0lySZ5NHGYkV2ldQ5d5LsTj2sFVp+/CyYyRkJmNX52t0oFaLyqh+i40oSuAxSMGwbyrAsVZ+ZRXMjZsnBeGrXWDJRM/thVr6VjtJ6xDNUb57JrxIL8guQdVI9x7TtRCPUbCaNbx8RO0NTdkEgbIhEMyawayQdx2DAFOzoIK5ni7Tw12ARwI5g2HIxF/1jewCbW8e/I2AAc+JJNhj2CbI8GzLbYcUckPZQ29TDaZ1wUT/u" | ||
DOTENV_VAULT_DEVELOPMENT_VERSION=2 | ||
|
||
# ci | ||
DOTENV_VAULT_CI="2RMvym2VpKgFwQU/+28jDyZwBfnjJ4e9miS2wlfKjuLahr9F" | ||
DOTENV_VAULT_CI_VERSION=1 | ||
|
||
# staging | ||
DOTENV_VAULT_STAGING="TvjGDH3+7zHwWAvzQcTsBvYxbKRXceh/v8QHFx2Jv0+r+NeV" | ||
DOTENV_VAULT_STAGING_VERSION=1 | ||
|
||
# production | ||
DOTENV_VAULT_PRODUCTION="84hmBsRW1Lnq0TYPP6mdJwLCyj8qTeBUXn+TetyP7ZypQk2r" | ||
DOTENV_VAULT_PRODUCTION_VERSION=1 | ||
|
||
#/----------------settings/metadata-----------------/ | ||
DOTENV_VAULT="vlt_9414e2f679ec3a1cc4d836b3f663277d1713a8c1157193f8982f296cbd901229" | ||
DOTENV_API_URL="https://vault.dotenv.org" | ||
DOTENV_CLI="npx dotenv-vault@latest" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
inputs: | ||
environment: | ||
description: "Deploy environment" | ||
default: "staging" | ||
default: "next" | ||
required: false | ||
type: string | ||
|
||
|
@@ -14,7 +14,7 @@ concurrency: | |
cancel-in-progress: true | ||
|
||
jobs: | ||
android: | ||
app: | ||
# if we add in the commit [no android] android build is ignored | ||
if: ${{ !contains(github.event.head_commit.message, '[no android]') }} | ||
environment: ${{ inputs.environment}} | ||
|
@@ -38,7 +38,7 @@ jobs: | |
run: npm ci | ||
|
||
- name: Collecting .env from dotenv-vault | ||
run: npx dotenv-vault@latest pull ${{ inputs.environment }} .env -m ${{ secrets.DOTENV_ME }} -y | ||
run: npx dotenv-vault@latest pull -m ${{ secrets.DOTENV_ME }} -y | ||
|
||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
|
@@ -52,49 +52,4 @@ jobs: | |
lane: "beta" | ||
subdirectory: "android" | ||
|
||
ios: | ||
# if we add in the commit [no ios] android build is ignored | ||
if: ${{ !contains(github.event.head_commit.message, '[no ios]') }} | ||
environment: ${{ inputs.environment}} | ||
# https://github.com/actions/runner-images/blob/macos-13/20231218.2/images/macos/macos-13-arm64-Readme.md | ||
runs-on: macos-latest-xlarge | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
cache: npm | ||
check-latest: true | ||
node-version: "latest" | ||
registry-url: "http://registry.npmjs.org/" | ||
architecture: "arm64" # optional, x64 or x86. If not specified, x64 will be used by default | ||
cache-dependency-path: "**/package-lock.json" | ||
|
||
- name: Install dependencies | ||
run: | | ||
npm install -g npm@latest | ||
npm ci | ||
- name: Collecting .env from dotenv-vault | ||
run: npx dotenv-vault@latest pull ${{ inputs.environment }} .env -m ${{ secrets.DOTENV_ME }} -y | ||
|
||
- run: | | ||
pod cache clean --all | ||
rm -rf Podfile.lock | ||
pod repo update | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: "3.3" | ||
bundler-cache: true | ||
working-directory: "ios" | ||
|
||
- name: Deploying IOS | ||
uses: maierj/[email protected] | ||
with: | ||
lane: "ios beta" | ||
subdirectory: "ios" | ||
env: | ||
NO_FLIPPER: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Staging CI/CD | |
on: | ||
push: | ||
branches: | ||
- staging | ||
- next | ||
|
||
jobs: | ||
Continuous-Integration: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,3 +38,8 @@ yarn-error.log* | |
|
||
# Sentry Config File | ||
.env.sentry-build-plugin | ||
|
||
.env* | ||
.flaskenv* | ||
!.env.project | ||
!.env.vault |