Merge pull request #564 from us3r-network/B-removeRequestSigner-shixu… #612
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 was auto-generated by the Firebase CLI | |
# https://github.com/firebase/firebase-tools | |
name: Deploy to Firebase Hosting on merge | |
"on": | |
push: | |
branches: | |
- main | |
- release | |
- test | |
jobs: | |
prod_build_and_deploy: | |
if: github.ref == 'refs/heads/release' | |
runs-on: ubuntu-latest | |
environment: | |
name: production | |
url: https://degencast.wtf | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- run: yarn && yarn init-nativewind && yarn export | |
env: | |
CI: true | |
NODE_OPTIONS: "--max_old_space_size=4096" | |
EXPO_PUBLIC_API_BASE_URL: "${{ vars.EXPO_PUBLIC_API_BASE_URL }}" | |
EXPO_PUBLIC_DEGENCAST_WEB_HOST: "${{ vars.EXPO_PUBLIC_DEGENCAST_WEB_HOST }}" | |
EXPO_PUBLIC_DEGENCAST_FRAME_HOST: "${{ vars.EXPO_PUBLIC_DEGENCAST_FRAME_HOST }}" | |
EXPO_PUBLIC_NEYNAR_API_HOST: "${{ vars.EXPO_PUBLIC_NEYNAR_API_HOST }}" | |
EXPO_PUBLIC_FARCASTER_HUB_URL: "${{ vars.EXPO_PUBLIC_FARCASTER_HUB_URL }}" | |
EXPO_PUBLIC_PAYMASTER_AND_BUNDLER_ENDPOINT: "${{ vars.EXPO_PUBLIC_PAYMASTER_AND_BUNDLER_ENDPOINT }}" | |
EXPO_PUBLIC_PRIVY_APP_ID: "${{ vars.EXPO_PUBLIC_PRIVY_APP_ID }}" | |
EXPO_PUBLIC_ZERO_X_API_KEY: "${{ secrets.ZERO_X_API_KEY }}" | |
EXPO_PUBLIC_ZERO_X_INTEGRATOR_WALLET_ADDRESS: "${{ vars.EXPO_PUBLIC_ZERO_X_INTEGRATOR_WALLET_ADDRESS }}" | |
EXPO_PUBLIC_ZORA_CAST_NFT_CHAIN_ID: "${{ vars.EXPO_PUBLIC_ZORA_CAST_NFT_CHAIN_ID }}" | |
EXPO_PUBLIC_ZORA_CREATE_REFERRAL: "${{ vars.EXPO_PUBLIC_ZORA_CREATE_REFERRAL }}" | |
EXPO_PUBLIC_HTTP_HMAC_KEY: "${{ secrets.HTTP_HMAC_KEY }}" | |
EXPO_PUBLIC_INVITE_ONLY: "${{ vars.EXPO_PUBLIC_INVITE_ONLY }}" | |
EXPO_PUBLIC_ATT_FACTORY_CONTRACT_ADDRESS: "${{ vars.EXPO_PUBLIC_ATT_FACTORY_CONTRACT_ADDRESS }}" | |
EXPO_PUBLIC_ATT_CONTRACT_CHAINID: "${{ vars.EXPO_PUBLIC_ATT_CONTRACT_CHAINID }}" | |
EXPO_PUBLIC_UNISWAP_V3_QUOTER_V2_CONTRACT_ADDRESS: "${{ vars.EXPO_PUBLIC_UNISWAP_V3_QUOTER_V2_CONTRACT_ADDRESS }}" | |
EXPO_PUBLIC_UNISWAP_V3_FACTORY_CONTRACT_ADDRESS: "${{ vars.EXPO_PUBLIC_UNISWAP_V3_FACTORY_CONTRACT_ADDRESS }}" | |
EXPO_PUBLIC_UNISWAP_V3_SWAP_ROUTER_02_CONTRACT_ADDRESS: "${{ vars.EXPO_PUBLIC_UNISWAP_V3_SWAP_ROUTER_02_CONTRACT_ADDRESS }}" | |
EXPO_PUBLIC_DEGEN_TOKEN_ADDRESS: "${{ vars.EXPO_PUBLIC_DEGEN_TOKEN_ADDRESS }}" | |
EXPO_PUBLIC_NATIVE_TOKEN_ADDRESS: "${{ vars.EXPO_PUBLIC_NATIVE_TOKEN_ADDRESS }}" | |
EXPO_PUBLIC_WRAP_NATIVE_TOKEN_ADDRESS: "${{ vars.EXPO_PUBLIC_WRAP_NATIVE_TOKEN_ADDRESS }}" | |
EXPO_PUBLIC_DEFAULT_CHAIN_ID: "${{ vars.EXPO_PUBLIC_DEFAULT_CHAIN_ID }}" | |
- uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: "${{ secrets.GITHUB_TOKEN }}" | |
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_US3R_NETWORK }}" | |
channelId: live | |
projectId: us3r-network | |
target: degencast | |
dev_build_and_deploy: | |
if: github.ref == 'refs/heads/main' | |
runs-on: ubuntu-latest | |
environment: | |
name: development | |
url: https://dev.degencast.wtf | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- run: yarn && yarn init-nativewind && yarn export | |
env: | |
CI: true | |
NODE_OPTIONS: "--max_old_space_size=4096" | |
EXPO_PUBLIC_API_BASE_URL: "${{ vars.EXPO_PUBLIC_API_BASE_URL }}" | |
EXPO_PUBLIC_DEGENCAST_WEB_HOST: "${{ vars.EXPO_PUBLIC_DEGENCAST_WEB_HOST }}" | |
EXPO_PUBLIC_DEGENCAST_FRAME_HOST: "${{ vars.EXPO_PUBLIC_DEGENCAST_FRAME_HOST }}" | |
EXPO_PUBLIC_NEYNAR_API_HOST: "${{ vars.EXPO_PUBLIC_NEYNAR_API_HOST }}" | |
EXPO_PUBLIC_FARCASTER_HUB_URL: "${{ vars.EXPO_PUBLIC_FARCASTER_HUB_URL }}" | |
EXPO_PUBLIC_PAYMASTER_AND_BUNDLER_ENDPOINT: "${{ vars.EXPO_PUBLIC_PAYMASTER_AND_BUNDLER_ENDPOINT }}" | |
EXPO_PUBLIC_PRIVY_APP_ID: "${{ vars.EXPO_PUBLIC_PRIVY_APP_ID }}" | |
EXPO_PUBLIC_ZERO_X_API_KEY: "${{ secrets.ZERO_X_API_KEY }}" | |
EXPO_PUBLIC_ZERO_X_INTEGRATOR_WALLET_ADDRESS: "${{ vars.EXPO_PUBLIC_ZERO_X_INTEGRATOR_WALLET_ADDRESS }}" | |
EXPO_PUBLIC_ZORA_CAST_NFT_CHAIN_ID: "${{ vars.EXPO_PUBLIC_ZORA_CAST_NFT_CHAIN_ID }}" | |
EXPO_PUBLIC_ZORA_CREATE_REFERRAL: "${{ vars.EXPO_PUBLIC_ZORA_CREATE_REFERRAL }}" | |
EXPO_PUBLIC_HTTP_HMAC_KEY: "${{ secrets.HTTP_HMAC_KEY }}" | |
EXPO_PUBLIC_INVITE_ONLY: "${{ vars.EXPO_PUBLIC_INVITE_ONLY }}" | |
EXPO_PUBLIC_ATT_FACTORY_CONTRACT_ADDRESS: "${{ vars.EXPO_PUBLIC_ATT_FACTORY_CONTRACT_ADDRESS }}" | |
EXPO_PUBLIC_ATT_CONTRACT_CHAINID: "${{ vars.EXPO_PUBLIC_ATT_CONTRACT_CHAINID }}" | |
EXPO_PUBLIC_UNISWAP_V3_QUOTER_V2_CONTRACT_ADDRESS: "${{ vars.EXPO_PUBLIC_UNISWAP_V3_QUOTER_V2_CONTRACT_ADDRESS }}" | |
EXPO_PUBLIC_UNISWAP_V3_FACTORY_CONTRACT_ADDRESS: "${{ vars.EXPO_PUBLIC_UNISWAP_V3_FACTORY_CONTRACT_ADDRESS }}" | |
EXPO_PUBLIC_UNISWAP_V3_SWAP_ROUTER_02_CONTRACT_ADDRESS: "${{ vars.EXPO_PUBLIC_UNISWAP_V3_SWAP_ROUTER_02_CONTRACT_ADDRESS }}" | |
EXPO_PUBLIC_DEGEN_TOKEN_ADDRESS: "${{ vars.EXPO_PUBLIC_DEGEN_TOKEN_ADDRESS }}" | |
EXPO_PUBLIC_NATIVE_TOKEN_ADDRESS: "${{ vars.EXPO_PUBLIC_NATIVE_TOKEN_ADDRESS }}" | |
EXPO_PUBLIC_WRAP_NATIVE_TOKEN_ADDRESS: "${{ vars.EXPO_PUBLIC_WRAP_NATIVE_TOKEN_ADDRESS }}" | |
EXPO_PUBLIC_DEFAULT_CHAIN_ID: "${{ vars.EXPO_PUBLIC_DEFAULT_CHAIN_ID }}" | |
- uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: "${{ secrets.GITHUB_TOKEN }}" | |
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_US3R_NETWORK }}" | |
channelId: live | |
projectId: us3r-network | |
target: degencast-dev | |
test_build_and_deploy: | |
if: github.ref == 'refs/heads/test' | |
runs-on: ubuntu-latest | |
environment: | |
name: development | |
url: https://test.degencast.wtf | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- run: yarn && yarn init-nativewind && yarn export | |
env: | |
CI: true | |
NODE_OPTIONS: "--max_old_space_size=4096" | |
EXPO_PUBLIC_API_BASE_URL: "${{ vars.EXPO_PUBLIC_API_BASE_URL }}" | |
EXPO_PUBLIC_DEGENCAST_WEB_HOST: "${{ vars.EXPO_PUBLIC_DEGENCAST_WEB_HOST }}" | |
EXPO_PUBLIC_DEGENCAST_FRAME_HOST: "${{ vars.EXPO_PUBLIC_DEGENCAST_FRAME_HOST }}" | |
EXPO_PUBLIC_NEYNAR_API_HOST: "${{ vars.EXPO_PUBLIC_NEYNAR_API_HOST }}" | |
EXPO_PUBLIC_FARCASTER_HUB_URL: "${{ vars.EXPO_PUBLIC_FARCASTER_HUB_URL }}" | |
EXPO_PUBLIC_PAYMASTER_AND_BUNDLER_ENDPOINT: "${{ vars.EXPO_PUBLIC_PAYMASTER_AND_BUNDLER_ENDPOINT }}" | |
EXPO_PUBLIC_PRIVY_APP_ID: "${{ vars.EXPO_PUBLIC_PRIVY_APP_ID }}" | |
EXPO_PUBLIC_ZERO_X_API_KEY: "${{ secrets.ZERO_X_API_KEY }}" | |
EXPO_PUBLIC_ZERO_X_INTEGRATOR_WALLET_ADDRESS: "${{ vars.EXPO_PUBLIC_ZERO_X_INTEGRATOR_WALLET_ADDRESS }}" | |
EXPO_PUBLIC_ZORA_CAST_NFT_CHAIN_ID: "${{ vars.EXPO_PUBLIC_ZORA_CAST_NFT_CHAIN_ID }}" | |
EXPO_PUBLIC_ZORA_CREATE_REFERRAL: "${{ vars.EXPO_PUBLIC_ZORA_CREATE_REFERRAL }}" | |
EXPO_PUBLIC_HTTP_HMAC_KEY: "${{ secrets.HTTP_HMAC_KEY }}" | |
EXPO_PUBLIC_INVITE_ONLY: "${{ vars.EXPO_PUBLIC_INVITE_ONLY }}" | |
EXPO_PUBLIC_ATT_FACTORY_CONTRACT_ADDRESS: "${{ vars.EXPO_PUBLIC_ATT_FACTORY_CONTRACT_ADDRESS }}" | |
EXPO_PUBLIC_ATT_CONTRACT_CHAINID: "${{ vars.EXPO_PUBLIC_ATT_CONTRACT_CHAINID }}" | |
EXPO_PUBLIC_UNISWAP_V3_QUOTER_V2_CONTRACT_ADDRESS: "${{ vars.EXPO_PUBLIC_UNISWAP_V3_QUOTER_V2_CONTRACT_ADDRESS }}" | |
EXPO_PUBLIC_UNISWAP_V3_FACTORY_CONTRACT_ADDRESS: "${{ vars.EXPO_PUBLIC_UNISWAP_V3_FACTORY_CONTRACT_ADDRESS }}" | |
EXPO_PUBLIC_UNISWAP_V3_SWAP_ROUTER_02_CONTRACT_ADDRESS: "${{ vars.EXPO_PUBLIC_UNISWAP_V3_SWAP_ROUTER_02_CONTRACT_ADDRESS }}" | |
EXPO_PUBLIC_DEGEN_TOKEN_ADDRESS: "${{ vars.EXPO_PUBLIC_DEGEN_TOKEN_ADDRESS }}" | |
EXPO_PUBLIC_NATIVE_TOKEN_ADDRESS: "${{ vars.EXPO_PUBLIC_NATIVE_TOKEN_ADDRESS }}" | |
EXPO_PUBLIC_WRAP_NATIVE_TOKEN_ADDRESS: "${{ vars.EXPO_PUBLIC_WRAP_NATIVE_TOKEN_ADDRESS }}" | |
EXPO_PUBLIC_DEFAULT_CHAIN_ID: "${{ vars.EXPO_PUBLIC_DEFAULT_CHAIN_ID }}" | |
- uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: "${{ secrets.GITHUB_TOKEN }}" | |
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_US3R_NETWORK }}" | |
channelId: live | |
projectId: us3r-network | |
target: degencast-test |