diff --git a/.github/ISSUE_TEMPLATE/workflows/release.yml b/.github/ISSUE_TEMPLATE/workflows/release.yml deleted file mode 100644 index 550e1514..00000000 --- a/.github/ISSUE_TEMPLATE/workflows/release.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: Build/release - -# this will help you specify where to run -on: - push: - branches: - # this will run on the specified branch - - feature/desktop-app - -env: - REACT_APP_BLOCKNATIVE_KEY: ${{ secrets.REACT_APP_BLOCKNATIVE_KEY }} - REACT_APP_FORTMATIC_KEY: ${{ secrets.REACT_APP_FORTMATIC_KEY }} - REACT_APP_GOOGLE_ANALYTICS_ID_MAINNET: ${{ secrets.REACT_APP_GOOGLE_ANALYTICS_ID_MAINNET }} - REACT_APP_INFURA_TOKEN: ${{ secrets.REACT_APP_INFURA_TOKEN }} - REACT_APP_PORTIS_ID: ${{ secrets.REACT_APP_PORTIS_ID }} - -jobs: - release: - runs-on: ${{ matrix.os }} - - strategy: - matrix: - os: [macos-latest, ubuntu-latest] - - steps: - - name: Check out Git repository - uses: actions/checkout@v1 - - - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v1 - with: - node-version: 10.16 - - - name: Build/release Electron app - env: - # macOS notarization API key - APPLEID: ${{ secrets.APPLE_ID }} - APPLEIDPASS: ${{ secrets.APPLE_ID_PASS }} - uses: samuelmeuli/action-electron-builder@v1 - with: - #Build scipt - build_script_name: build-desktop - - # GitHub token, automatically provided to the action - # (No need to define this secret in the repo settings) - - github_token: ${{ secrets.github_token }} - - # macOS code signing certificate - mac_certs: ${{ secrets.MAC_CERTS }} - mac_certs_password: ${{ secrets.MAC_CERTS_PASSWORD }} - - # If the commit is tagged with a version (e.g. "v1.0.0"), - # release the app after building - release: ${{ startsWith(github.ref, 'refs/tags/v') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 05ed593d..fc596b8c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,6 @@ on: workflow_dispatch env: - REACT_APP_BLOCKNATIVE_KEY: ${{ secrets.REACT_APP_BLOCKNATIVE_KEY }} REACT_APP_FORTMATIC_KEY: ${{ secrets.REACT_APP_FORTMATIC_KEY }} REACT_APP_GOOGLE_ANALYTICS_ID_MAINNET: ${{ secrets.REACT_APP_GOOGLE_ANALYTICS_ID_MAINNET }} REACT_APP_INFURA_TOKEN: ${{ secrets.REACT_APP_INFURA_TOKEN }} diff --git a/docs/networks.md b/docs/networks.md index e1519441..a048fa86 100644 --- a/docs/networks.md +++ b/docs/networks.md @@ -161,7 +161,6 @@ export type GasPriceOracle = { - **REACT_APP_GOOGLE_ANALYTICS**: Used for enabling google analytics - **REACT_APP_PORTIS_ID**: Portis ID for enabling it on given network - **REACT_APP_FORTMATIC_KEY**: Formatic yey for given network -- **REACT_APP_BLOCKNATIVE_KEY**: Blocknative key for given network --- ## How to add a network @@ -190,7 +189,6 @@ export enum ETHEREUM_NETWORK { * REACT_APP_GOOGLE_ANALYTICS * REACT_APP_PORTIS_ID * REACT_APP_FORTMATIC_KEY -* REACT_APP_BLOCKNATIVE_KEY 3) Add the **NetworkSettings** in [`src/config/networks`](/src/config/networks) as `.ts`: diff --git a/src/utils/constants.ts b/src/utils/constants.ts index c03e7121..57e6b3dd 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -7,7 +7,6 @@ export const GOOGLE_ANALYTICS_ID = process.env.REACT_APP_GOOGLE_ANALYTICS || '' export const SENTRY_DSN = process.env.REACT_APP_SENTRY_DSN || '' export const PORTIS_ID = process.env.REACT_APP_PORTIS_ID ?? '852b763d-f28b-4463-80cb-846d7ec5806b' export const FORTMATIC_KEY = process.env.REACT_APP_FORTMATIC_KEY ?? 'pk_test_CAD437AA29BE0A40' -export const BLOCKNATIVE_KEY = process.env.REACT_APP_BLOCKNATIVE_KEY ?? '7fbb9cee-7e97-4436-8770-8b29a9a8814c' /* * Not being used export const SQUARELINK_ID = {