Skip to content

Commit dcd0956

Browse files
committed
👷 Update cloudflare worker
1 parent 6c8601b commit dcd0956

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/worker.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,3 @@ jobs:
1919
with:
2020
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
2121
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
22-
preCommands: |
23-
npm install
24-
npm run build

wrangler.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ crons = []
1616
# Configure routes - removed as they're not needed for simple Workers
1717
# Routes are configured in the Cloudflare dashboard
1818

19-
# Configure build
19+
# Configure build - runs full build process without duplication
2020
[build]
21-
command = "npm run build:webhook"
21+
command = "npm install && npm run build"

0 commit comments

Comments
 (0)