Skip to content

Update deploy.yml

Update deploy.yml #17

Workflow file for this run

name: Update 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
run: npm install
- name: Build React app
run: npm run build
- name: Deploy site to Walrus
uses: zktx-io/walrus-sites-ga@v0.2.15
with:
site-path: './build'
network: 'testnet'
epochs: 100
object-id: '0x1a64a12447b5581ba4dd40cb0cd8f9bb485a7db3b42789158e467e5e5c531af8'
env:
SUI_ADDRESS: ${{ vars.SUI_ADDRESS }}
SUI_KEYSTORE: ${{ secrets.SUI_KEYSTORE }}