This is a GitHub action that allows you to integrate PSU obfuscation into your pipeline.
- A PSU Premium subscription
- Your API key
- Your Lua script to be obfuscated
Multiple files cannot be obfuscated at once at this time - this issue will be addressed in a later release of the action.
Create a workflow .yml
file in .github/workflows
inside of your repository. An example workflow can be found below.
path
- The path to the file to be obfuscatedapiKey
- Your PSU API key, this can be specified through GitHub's secrets.
file
- The obfuscated file
name: Example Workflow
on: push
jobs:
obfuscate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Obfuscate with PSU
uses: psuDevelopment/Obfuscate-With-PSU@main
id: obfuscate
with:
path: ./Script.lua
apiKey: ${{ secrets.PSU_API_KEY }}
- name: Echo obfuscated file
run: echo ${{ steps.obfuscate.outputs.file }}
This project is licensed under the MIT license, feel free to modify as you wish. :)