Skip to content

Commit

Permalink
Fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
noman-land committed Oct 24, 2023
1 parent 8fc3905 commit a7eb350
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ jobs:
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
preCommands: npm install && sed 's/example\.com/${{ secrets.DOMAIN }}/g' wrangler-example.toml > wrangler.toml
command: deploy src/index.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"tail": "npx wrangler tail",
"start": "npx wrangler dev --local",
"deploy": "npx wrangler publish src/index.ts"
"deploy": "npx wrangler deploy src/index.ts"
},
"author": "Noman",
"license": "MIT",
Expand Down

0 comments on commit a7eb350

Please # to comment.