Skip to content

Commit 274e908

Browse files
authored
Create mint.yml
1 parent c8a6186 commit 274e908

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/mint.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Auto Mint MOVE
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
mint:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout repo
11+
uses: actions/checkout@v3
12+
13+
- name: Setup Node
14+
uses: actions/setup-node@v3
15+
with:
16+
node-version: '18'
17+
18+
- name: Install dependencies
19+
run: npm install
20+
21+
- name: Run Mint Script
22+
env:
23+
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
24+
RPC_URL: ${{ secrets.RPC_URL }}
25+
run: |
26+
npm install ethers
27+
echo "Starting minting..."
28+
node mint.js

0 commit comments

Comments
 (0)