You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
name: Build and Deploy
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
|
branches:
|
|
|
|
|
- main
|
|
|
|
|
jobs:
|
|
|
|
|
build-and-deploy:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout 🛎️
|
|
|
|
|
uses: actions/checkout@v2.3.1
|
|
|
|
|
|
|
|
|
|
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder.
|
|
|
|
|
env:
|
|
|
|
|
VITE_ALCHEMY_POLYGON_KEY: ${{ 56iPM_qFlrt5_HZ3tyFIK5CRW-Nl5kob }}
|
|
|
|
|
VITE_ALCHEMY_MUMBAI_KEY: ${{ 56iPM_qFlrt5_HZ3tyFIK5CRW-Nl5kob }}
|
|
|
|
|
VITE_ALCHEMY_OPTIMISM_KEY: ${{ 56iPM_qFlrt5_HZ3tyFIK5CRW-Nl5kob }}
|
|
|
|
|
VITE_ALCHEMY_ARBITRUM_KEY: ${{ 56iPM_qFlrt5_HZ3tyFIK5CRW-Nl5kob }}
|
|
|
|
|
VITE_ALCHEMY_ETHEREUM_KEY: ${{ 56iPM_qFlrt5_HZ3tyFIK5CRW-Nl5kob }}
|
|
|
|
|
run: |
|
|
|
|
|
npm install
|
|
|
|
|
npm run build
|
|
|
|
|
- name: Deploy 🚀
|
|
|
|
|
uses: JamesIves/github-pages-deploy-action@4.1.7
|
|
|
|
|
with:
|
|
|
|
|
branch: gh-pages # The branch the action should deploy to.
|
|
|
|
|
folder: dist # The folder the action should deploy.
|