Skip to content

Commit 6838b87

Browse files
committed
Create deploy.yml
1 parent b9e7b44 commit 6838b87

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Deploy Walrus Site using Walrus Sites GA
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: '20'
20+
21+
- name: Install dependencies in temporary directory and Build Explorer
22+
run: |
23+
npm i
24+
npm run build
25+
26+
- name: Deploy Phaser 3 TypeScript project to Walrus
27+
uses: zktx-io/[email protected]
28+
with:
29+
site-path: ${{ github.workspace }}/dist
30+
network: 'testnet'
31+
epochs: 200
32+
env:
33+
SUI_ADDRESS: ${{ vars.SUI_ADDRESS }}
34+
SUI_KEYSTORE: ${{ secrets.SUI_KEYSTORE }}

0 commit comments

Comments
 (0)