Skip to content

Update ViewBarCode.tsx #28

Update ViewBarCode.tsx

Update ViewBarCode.tsx #28

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'
object-id: '0x81dd01945348e0610d2fd97a420e7d6697d0da7d1fa0a042eee80f30fda34436'
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'
object-id: '0xabc84c53f45e6f9d99fa27a8ffc79d38bcb675eb00f63355d87df9fcb1a40238'
epochs: 100
env:
SUI_ADDRESS: ${{ vars.SUI_ADDRESS }}
SUI_KEYSTORE: ${{ secrets.SUI_KEYSTORE }}