forked from OffchainLabs/arbitrum-token-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (37 loc) · 1.22 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
39
40
41
42
name: Deploy frontend to github pages
on:
push:
branches:
- "integration" # our default branch for nitro forks
- "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
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Build
run: |
yarn
yarn build
env:
# Go to https://cloud.walletconnect.com/sign-up and create a project to obtain an ID
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
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