Skip to content

Commit

Permalink
chore: 添加github action 缺少指令
Browse files Browse the repository at this point in the history
  • Loading branch information
TBXark committed Nov 13, 2024
1 parent 01a83cb commit be75d39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ jobs:
with:
node-version: 20
- run: npm install -g pnpm
- run: pnpm install
- run: pnpm run build
- run: node ./dist/index.js
1 change: 1 addition & 0 deletions .github/workflows/cloudflare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
${{secrets.WRANGLER_TOML}}
EOF
- run: npm install -g pnpm
- run: pnpm install
- run: pnpm run build
- run: CLOUDFLARE_API_TOKEN=${{ secrets.CF_API_TOKEN }} pnpm run wrangler deploy --config=wrangler.toml > /dev/null

Expand Down

0 comments on commit be75d39

Please sign in to comment.