mirror of
https://github.com/ZSCGR/CloudFlare-ImgBed.git
synced 2026-08-13 04:03:42 +08:00
refactor: move wrangler.worker.toml into worker/ directory
- Rename to worker/wrangler.toml - Update all paths (main, assets directory) to be relative to worker/ - Update package.json, workflow, generate-toml.js, .dockerignore - Fix .gitignore to only ignore root wrangler.toml
This commit is contained in:
@@ -64,7 +64,7 @@ jobs:
|
||||
if: steps.check.outputs.skip != 'true'
|
||||
run: node worker/generate-routes.js
|
||||
|
||||
- name: Generate wrangler.worker.toml
|
||||
- name: Generate wrangler config
|
||||
if: steps.check.outputs.skip != 'true'
|
||||
env:
|
||||
WORKER_NAME: ${{ inputs.worker_name || secrets.WORKER_NAME }}
|
||||
@@ -80,4 +80,4 @@ jobs:
|
||||
with:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
command: deploy --config wrangler.worker.toml
|
||||
command: deploy --config worker/wrangler.toml
|
||||
|
||||
Reference in New Issue
Block a user