Update README.md #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.6 | |
with: | |
site-path: './build' | |
network: 'testnet' | |
object-id: '0x1a64a12447b5581ba4dd40cb0cd8f9bb485a7db3b42789158e467e5e5c531af8' | |
env: | |
SUI_ADDRESS: ${{ vars.SUI_ADDRESS }} | |
SUI_KEYSTORE: ${{ secrets.SUI_KEYSTORE }} |