Skip to content

Update deploy.yml

Update deploy.yml #3

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: Install dependencies in temporary directory and Build React app
run: |
cd ./src/explorer
npm install -g pnpm
pnpm install
npm run build
- name: Deploy PTB Explorer to Walrus
uses: zktx-io/[email protected]
with:
site-path: '.src/explorer/dist'
network: 'testnet'
epochs: 200
env:
SUI_ADDRESS: ${{ vars.SUI_ADDRESS }}
SUI_KEYSTORE: ${{ secrets.SUI_KEYSTORE }}