We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6285a3 commit b1b6788Copy full SHA for b1b6788
1 file changed
.github/workflows/build.yml
@@ -5,6 +5,9 @@ on:
5
branches:
6
- dev
7
8
+permissions:
9
+ contents: write
10
+
11
jobs:
12
build:
13
runs-on: ubuntu-latest
@@ -24,7 +27,8 @@ jobs:
24
27
- name: Build project
25
28
run: |
26
29
npx wrangler deploy src/worker.js --name bpb-worker-panel --compatibility-flag [nodejs_compat] --compatibility-date 2024-10-26 --dry-run --outdir=dist
- cp dist/worker.js _worker.js
30
+ npm install -g javascript-obfuscator
31
+ javascript-obfuscator dist/worker.js --output _worker.js
32
33
- name: Commit and push built worker
34
0 commit comments