Skip to content

Commit

Permalink
Create deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
daoauth committed Jan 12, 2025
1 parent b9e7b44 commit 6838b87
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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 Explorer
run: |
npm i
npm run build
- name: Deploy Phaser 3 TypeScript project to Walrus
uses: zktx-io/[email protected]
with:
site-path: ${{ github.workspace }}/dist
network: 'testnet'
epochs: 200
env:
SUI_ADDRESS: ${{ vars.SUI_ADDRESS }}
SUI_KEYSTORE: ${{ secrets.SUI_KEYSTORE }}

0 comments on commit 6838b87

Please sign in to comment.