forked from OffchainLabs/arbitrum-token-bridge
-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (34 loc) · 1.05 KB
/
espresso-pages.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Deploy frontend to github pages
on:
push:
branches:
- "integration"
- "release-*"
pull_request:
schedule:
- cron: "0 0 * * 1"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ (github.ref == 'refs/heads/integration' && github.run_number) || github.ref }}
cancel-in-progress: true
jobs:
pages:
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Build
run: |
yarn
yarn build
env:
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID }}
NEXT_PUBLIC_SEPOLIA_RPC_URL: https://ethereum-sepolia-rpc.publicnode.com
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
# TODO uncomment below
# if: ${{ github.ref == 'refs/heads/integration' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./packages/arb-token-bridge-ui/build
# cname: arbitrum-bridge.cappuccino.testnet.espresso.network