No description
  • JavaScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-04 22:26:20 +01:00
assets update readme 2025-02-03 21:33:54 +00:00
node_modules chore(deps): update all dependencies 2026-10-04 18:04:42 +01:00
.gitignore first commit 2025-02-03 20:16:56 +00:00
action.yml feat: poll upload progress, add solve-captcha and headers inputs 2026-10-04 18:36:30 +01:00
index.mjs feat: log the raw Luarmor update response body 2026-10-04 22:26:20 +01:00
package-lock.json feat: log the raw Luarmor update response body 2026-10-04 22:26:20 +01:00
package.json feat: log the raw Luarmor update response body 2026-10-04 22:26:20 +01:00
README.md chore: release 2.1.0 2026-10-04 18:36:39 +01:00

Luarmor Deploy

Deploy your script file to Luarmor.

Warning

You must self-host your GitHub runner and whitelist your server's IP on the Luarmor site for this to work. This is due to limitations imposed by Luarmor themselves.

Inputs

an image showing the project-id and script-id

twocaptcha-api-key

Required, unless solve-captcha is false Your secret 2captcha API key. This is required since Luarmor has added a Cloudflare Turnstile CAPTCHA to its update script endpoint.

solve-captcha

Optional Whether to solve the Cloudflare Turnstile CAPTCHA with 2captcha. Defaults to true. Set this to false if you don't need it.

headers

Optional Extra headers to add to the upload request, as a JSON object. These are applied last, so they override the default headers.

api-key

Required Your secret Luarmor API key. This should be stored in GitHub secrets.

script-id

Required The id of the script you want to upload the file to.

project-id

Optional The id of the project that the script. If this is not specified, it's automatically resolved for you.

file

Required The path to the script file to deploy.

Outputs

N/A

Example usage

name: Deploy Script

on:
  push:
    branches:
      - main

jobs:
  deploy:
    runs-on: [self-hosted]

    steps:
    - name: Checkout repository
      uses: actions/checkout@v2

    - name: Deploy to Luarmor
      uses: stefanuk12/[email protected]
      with:
        twocaptcha-api-key: ${{ secrets.TWOCAPTCHA_API_KEY }}
        api-key: ${{ secrets.LUARMOR_API_KEY }}
        script-id: "your-script-id"
        project-id: "your-project-id" # Optional
        file: "path/to/your/script/file"