Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
pages 部署和代码压缩
Browse files Browse the repository at this point in the history
  • Loading branch information
jianjianai authored Jun 14, 2024
2 parents 6c8519c + ae832f9 commit 4c24182
Show file tree
Hide file tree
Showing 14 changed files with 1,195 additions and 584 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4.1.5
- name: Setup pnpm
uses: pnpm/action-setup@v4.0.0
with:
run_install: true
version: 9
- name: build - 构建
run: pnpm run build-worker
- name: Deploy to Cloudflare Workers with Wrangler
uses: cloudflare/wrangler-action@v3.1.0
with:
Expand All @@ -21,7 +28,4 @@ jobs:
# Your Cloudflare Account ID
accountId: ${{ secrets.CF_ACCOUNT_ID }} # optional
# The Wrangler command (along with any arguments) you wish to run. Multiple Wrangler commands can be run by separating each command with a newline. Defaults to `"deploy"`.
command: deploy # optional



command: deploy # optional
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,4 @@ dist

iptest/iiptest.js
iptest/iiptest/iiptest*.txt
functions/
Loading

0 comments on commit 4c24182

Please sign in to comment.