Skip to content

add verifier

add verifier #9

Workflow file for this run

name: Deploy Walrus Site using Walrus Sites GA
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Copy holder package to temporary directory
run: |
mkdir -p /tmp/holder
cp -r ./packages/holder/* /tmp/holder/
- name: Install dependencies in temporary directory and Build React app
env:
REACT_APP_CLIENT_ID: ${{ secrets.REACT_APP_CLIENT_ID }}
REACT_APP_ISSUER: ${{ secrets.REACT_APP_ISSUER }}
run: |
cd /tmp/holder
npm install
npm run build
- name: Deploy site to Walrus Pass - Holder
uses: zktx-io/[email protected]
with:
config-path: '/tmp/holder/builder.yaml'
site-path: '/tmp/holder/build'
object-id: '0xc6fee78376d0041b30e4ebd6eb54a0cbf03662c1f4825d0a90bdf075a41e43fd'
network: 'testnet'
env:
SUI_ADDRESS: ${{ vars.SUI_ADDRESS }}
SUI_KEYSTORE: ${{ secrets.SUI_KEYSTORE }}
- name: Install dependencies in temporary directory and Build React app
env:
REACT_APP_CLIENT_ID: ${{ secrets.REACT_APP_CLIENT_ID }}
REACT_APP_ISSUER: ${{ secrets.REACT_APP_ISSUER }}
run: |
cd /tmp/verifier
npm install
npm run build
- name: Deploy site to Walrus Pass - Verifier
uses: zktx-io/[email protected]
with:
config-path: '/tmp/verifier/builder.yaml'
site-path: '/tmp/verifier/build'
network: 'testnet'
env:
SUI_ADDRESS: ${{ vars.SUI_ADDRESS }}
SUI_KEYSTORE: ${{ secrets.SUI_KEYSTORE }}