Removed testnet.yml

This commit is contained in:
Christine Eun 2022-08-25 21:33:09 +00:00 committed by Evan Gray
parent 2d2a4b63ac
commit c62287b6e0
1 changed files with 0 additions and 26 deletions

View File

@ -1,26 +0,0 @@
name: Testnet
on:
push:
branches:
- dev.v2
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
env:
REACT_APP_COVALENT_API_KEY: ${{ secrets.COVALENT_API_KEY }}
run: |
cd bridge_ui
npm ci
IFS='/' read -a strarr <<< $GITHUB_REPOSITORY && sed -i "`wc -l < package.json`i\,\"homepage\":\"https://${strarr[0]}.github.io/${strarr[1]}\"" package.json
REACT_APP_CLUSTER="testnet" npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.2.5
with:
branch: gh-pages # The branch the action should deploy to.
folder: bridge_ui/build # The folder the action should deploy.