We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45594a2 commit ae676bdCopy full SHA for ae676bd
.github/workflows/main.yml
@@ -32,8 +32,8 @@ jobs:
32
33
- name: Update wrangler config with environment variables
34
run: |
35
- # Create script to update wrangler.jsonc
36
- cat > update_config.js << 'EOF'
+ # Create script to update wrangler.jsonc (using .cjs extension for CommonJS)
+ cat > update_config.cjs << 'EOF'
37
const fs = require('fs');
38
39
try {
@@ -66,7 +66,7 @@ jobs:
66
}
67
EOF
68
69
- node update_config.js
+ node update_config.cjs
70
71
- name: Deploy to Cloudflare Workers
72
uses: cloudflare/wrangler-action@v3
0 commit comments