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.
Required Your secret 2captcha API key. This is required since Luarmor has added a Cloudflare Turnstile CAPTCHA to its update script endpoint.
Required Your secret Luarmor API key. This should be stored in GitHub secrets.
Required The id of the script you want to upload the file to.
Optional The id of the project that the script. If this is not specified, it's automatically resolved for you.
Required The path to the script file to deploy.
N/A
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/luarmor-deploy-action@v1.0.0
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"