- JavaScript 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| assets | ||
| node_modules | ||
| .gitignore | ||
| action.yml | ||
| index.mjs | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
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
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"
