Skip to content

add modal to connect wallet, network selection and fix hooks #9

add modal to connect wallet, network selection and fix hooks

add modal to connect wallet, network selection and fix hooks #9

Workflow file for this run

name: Release
on: [push, pull_request, workflow_dispatch]
jobs:
create_release:
name: Create Release
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up node
uses: actions/setup-node@v2
with:
node-version: 16
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: npm install --legacy-peer-deps
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build the bundle
run: yarn build
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.ACCOUNT_ID }}
projectName: ${{ secrets.PROJECT_NAME }}
directory: './build'
# Optional: Enable this if you want to have GitHub Deployments triggered
gitHubToken: ${{ secrets.GITHUB_TOKEN }}