Skip to content

feat: update navbar active link #909

feat: update navbar active link

feat: update navbar active link #909

name: UI deployment
on:
push:
branches: ['main']
paths: ['packages/ui/**/*']
pull_request:
branches: ['main']
paths: ['packages/ui/**/*']
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/ui/
permissions:
contents: read
deployments: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: yarn
node-version: '16'
cache-dependency-path: 'yarn.lock'
- run: corepack enable
- run: yarn install --immutable
- run: yarn build
env:
VITE_WALLETCONNECT_PROJECT_ID: ${{ secrets.WALLETCONNECT_PROJECT_ID }}
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: 2238a825c5aca59233eab1f221f7aefb
projectName: multix
directory: ./packages/ui/build
gitHubToken: ${{ secrets.GITHUB_TOKEN }}