Skip to content

Commit e60a9fa

Browse files
authored
feat(workflow): update with working example
1 parent d90ee77 commit e60a9fa

1 file changed

Lines changed: 15 additions & 9 deletions

File tree

.github/workflows/luarmor_deploy.yaml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Please read this -> https://github.com/Stefanuk12/luarmor-deploy-action/tree/main
2-
# NOTE: this currently does not work due to a captcha solver needed
2+
# NOTE: this only works if you use 2captcha solver
33

44
name: Deploy Script to Luarmor
55

@@ -12,17 +12,15 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1616

1717
- name: Install Pesde
18-
uses: lumin-org/setup-pesde@v0.3.1
18+
uses: lumin-org/setup-pesde@v0.4.1
1919
with:
2020
cache: true
2121

2222
- name: Install dependencies
23-
run: |
24-
pesde install
25-
pesde run config
23+
run: pesde install
2624

2725
- name: Darklua
2826
run: |
@@ -31,7 +29,7 @@ jobs:
3129
"$darklua" process src/init.luau dist.lua -c .meta/.darklua.json
3230
3331
- name: Upload dist.lua artifact
34-
uses: actions/upload-artifact@v3
32+
uses: actions/upload-artifact@v6
3533
with:
3634
name: dist
3735
path: dist.lua
@@ -43,7 +41,7 @@ jobs:
4341

4442
steps:
4543
- name: Download dist.lua artifact
46-
uses: actions/download-artifact@v3
44+
uses: actions/download-artifact@v7
4745
with:
4846
name: dist
4947
path: ./
@@ -53,5 +51,13 @@ jobs:
5351
with:
5452
twocaptcha-api-key: ${{ secrets.TWOCAPTCHA_API_KEY }}
5553
api-key: ${{ secrets.LUARMOR_API_KEY }}
56-
script-id: "your-script-id"
54+
script-id: "26bf4fbf77075cc4dc118a1432bdef95" # Rocult Paid
55+
file: "dist.lua"
56+
57+
- name: Deploy to Luarmor
58+
uses: stefanuk12/luarmor-deploy-action@v2.0.0
59+
with:
60+
twocaptcha-api-key: ${{ secrets.TWOCAPTCHA_API_KEY }}
61+
api-key: ${{ secrets.LUARMOR_API_KEY }}
62+
script-id: "b51589a899a693b4da98f86bbfb79c23" # Rocult Free
5763
file: "dist.lua"

0 commit comments

Comments
 (0)