mirror of
https://github.com/Stefanuk12/luarmor-deploy-action.git
synced 2026-08-14 20:54:55 +00:00
No description
- 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 Your secret 2captcha API key. This is required since Luarmor has added a Cloudflare Turnstile CAPTCHA to its update script endpoint.
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"
