Skip to content

Update config.ts

Update config.ts #24

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/
mkdir -p /tmp/verifier
cp -r ./packages/verifier/* /tmp/verifier/
- 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:
site-path: '/tmp/holder/build'
network: 'testnet'
epochs: 100
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:
site-path: '/tmp/verifier/build'
network: 'testnet'
epochs: 100
env:
SUI_ADDRESS: ${{ vars.SUI_ADDRESS }}
SUI_KEYSTORE: ${{ secrets.SUI_KEYSTORE }}