From a365efc0590e91421f718041c8284b522b3b2436 Mon Sep 17 00:00:00 2001 From: fewensa <37804932+fewensa@users.noreply.github.com> Date: Wed, 9 Oct 2024 13:26:16 +0000 Subject: [PATCH] Update CI --- .env.crab | 20 -------------------- .env.darwinia | 20 -------------------- .env.koi | 20 -------------------- .github/workflows/deploy-dev.yml | 10 ---------- .github/workflows/deploy-prd.yml | 10 ---------- .github/workflows/deploy-stg.yml | 10 ---------- 6 files changed, 90 deletions(-) delete mode 100644 .env.crab delete mode 100644 .env.darwinia delete mode 100644 .env.koi diff --git a/.env.crab b/.env.crab deleted file mode 100644 index 29f2840..0000000 --- a/.env.crab +++ /dev/null @@ -1,20 +0,0 @@ -NODE_ENV: production - -# General -NEXT_PUBLIC_DAO_ADDRESS=0x005493b5658e6201F06FE2adF492610635505F4C -NEXT_PUBLIC_TOKEN_ADDRESS=0xdafa555e2785DC8834F4Ea9D1ED88B6049142999 - -# Plugin addresses -NEXT_PUBLIC_TOKEN_VOTING_PLUGIN_ADDRESS=0x1756B204a72e1B879D9C63b47f31640a57b8c727 -NEXT_PUBLIC_DELEGATION_CONTRACT_ADDRESS=0x6c1c123e972d7a2db02b2a11e21a53746aab2b2f -NEXT_PUBLIC_DELEGATION_ANNOUNCEMENTS_START_BLOCK=696290 - -# Network and services -NEXT_PUBLIC_CHAIN_NAME=crab -NEXT_PUBLIC_WEB3_URL_PREFIX="https://crab-rpc.darwinia.network" - -NEXT_PUBLIC_ALCHEMY_API_KEY: '{{ .NEXT_PUBLIC_ALCHEMY_API_KEY }}' -NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID: '{{ .NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID }}' -NEXT_PUBLIC_IPFS_ENDPOINT: https://prod.ipfs.aragon.network/api/v0 -NEXT_PUBLIC_IPFS_API_KEY: '{{ .NEXT_PUBLIC_IPFS_API_KEY }}' -NEXT_PUBLIC_ETHERSCAN_API_KEY: '{{ .NEXT_PUBLIC_ETHERSCAN_API_KEY }}' diff --git a/.env.darwinia b/.env.darwinia deleted file mode 100644 index 7f29b31..0000000 --- a/.env.darwinia +++ /dev/null @@ -1,20 +0,0 @@ -NODE_ENV: production - -# General -NEXT_PUBLIC_DAO_ADDRESS=0x005493b5658e6201F06FE2adF492610635505F4C -NEXT_PUBLIC_TOKEN_ADDRESS=0xdafa555e2785DC8834F4Ea9D1ED88B6049142999 - -# Plugin addresses -NEXT_PUBLIC_TOKEN_VOTING_PLUGIN_ADDRESS=0x1756B204a72e1B879D9C63b47f31640a57b8c727 -NEXT_PUBLIC_DELEGATION_CONTRACT_ADDRESS=0x6c1c123e972d7a2db02b2a11e21a53746aab2b2f -NEXT_PUBLIC_DELEGATION_ANNOUNCEMENTS_START_BLOCK=696290 - -# Network and services -NEXT_PUBLIC_CHAIN_NAME=darwinia -NEXT_PUBLIC_WEB3_URL_PREFIX="https://rpc.darwinia.network" - -NEXT_PUBLIC_ALCHEMY_API_KEY: '{{ .NEXT_PUBLIC_ALCHEMY_API_KEY }}' -NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID: '{{ .NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID }}' -NEXT_PUBLIC_IPFS_ENDPOINT: https://prod.ipfs.aragon.network/api/v0 -NEXT_PUBLIC_IPFS_API_KEY: '{{ .NEXT_PUBLIC_IPFS_API_KEY }}' -NEXT_PUBLIC_ETHERSCAN_API_KEY: '{{ .NEXT_PUBLIC_ETHERSCAN_API_KEY }}' diff --git a/.env.koi b/.env.koi deleted file mode 100644 index 2ae38a0..0000000 --- a/.env.koi +++ /dev/null @@ -1,20 +0,0 @@ -NODE_ENV: production - -# General -NEXT_PUBLIC_DAO_ADDRESS=0x005493b5658e6201F06FE2adF492610635505F4C -NEXT_PUBLIC_TOKEN_ADDRESS=0xdafa555e2785DC8834F4Ea9D1ED88B6049142999 - -# Plugin addresses -NEXT_PUBLIC_TOKEN_VOTING_PLUGIN_ADDRESS=0x1756B204a72e1B879D9C63b47f31640a57b8c727 -NEXT_PUBLIC_DELEGATION_CONTRACT_ADDRESS=0x6c1c123e972d7a2db02b2a11e21a53746aab2b2f -NEXT_PUBLIC_DELEGATION_ANNOUNCEMENTS_START_BLOCK=696290 - -# Network and services -NEXT_PUBLIC_CHAIN_NAME=koi -NEXT_PUBLIC_WEB3_URL_PREFIX="https://koi-rpc.darwinia.network" - -NEXT_PUBLIC_ALCHEMY_API_KEY: '{{ .NEXT_PUBLIC_ALCHEMY_API_KEY }}' -NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID: '{{ .NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID }}' -NEXT_PUBLIC_IPFS_ENDPOINT: https://prod.ipfs.aragon.network/api/v0 -NEXT_PUBLIC_IPFS_API_KEY: '{{ .NEXT_PUBLIC_IPFS_API_KEY }}' -NEXT_PUBLIC_ETHERSCAN_API_KEY: '{{ .NEXT_PUBLIC_ETHERSCAN_API_KEY }}' diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index c62e100..ecab463 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -7,19 +7,9 @@ jobs: deploy: name: Deploy runs-on: ubuntu-latest - strategy: - matrix: - chain: - # - crab - # - darwinia - - koi steps: - uses: actions/checkout@v4 - - name: Copy env - run: | - cp .env.${{ matrix.chain }} .env.production || true - - name: Render penv id: render_template uses: chuhlomin/render-template@v1 diff --git a/.github/workflows/deploy-prd.yml b/.github/workflows/deploy-prd.yml index 13652d6..4178aae 100644 --- a/.github/workflows/deploy-prd.yml +++ b/.github/workflows/deploy-prd.yml @@ -9,19 +9,9 @@ jobs: deploy: name: Deploy runs-on: ubuntu-latest - strategy: - matrix: - chain: - # - crab - # - darwinia - - koi steps: - uses: actions/checkout@v4 - - name: Copy env - run: | - cp .env.${{ matrix.chain }} .env.production || true - - name: Render penv id: render_template uses: chuhlomin/render-template@v1 diff --git a/.github/workflows/deploy-stg.yml b/.github/workflows/deploy-stg.yml index 9b92476..96317f0 100644 --- a/.github/workflows/deploy-stg.yml +++ b/.github/workflows/deploy-stg.yml @@ -8,19 +8,9 @@ jobs: deploy: name: Deploy runs-on: ubuntu-latest - strategy: - matrix: - chain: - # - crab - # - darwinia - - koi steps: - uses: actions/checkout@v4 - - name: Copy env - run: | - cp .env.${{ matrix.chain }} .env.production || true - - name: Render penv id: render_template uses: chuhlomin/render-template@v1