diff --git a/.github/workflows/mint.yml b/.github/workflows/mint.yml new file mode 100644 index 0000000..df1740f --- /dev/null +++ b/.github/workflows/mint.yml @@ -0,0 +1,28 @@ +name: Auto Mint MOVE + +on: + workflow_dispatch: + +jobs: + mint: + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v3 + + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: '18' + + - name: Install dependencies + run: npm install + + - name: Run Mint Script + env: + PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} + RPC_URL: ${{ secrets.RPC_URL }} + run: | + npm install ethers + echo "Starting minting..." + node mint.js