Documentation Index
Fetch the complete documentation index at: https://blog.cytric.nl/llms.txt
Use this file to discover all available pages before exploring further.
Bot Restart Action
This GitHub Action automatically restarts your bot hosted on Cytric whenever you push new code to your repository.It’s a simple and reliable way to automatically deploy updates, apply fixes, or refresh your bot’s environment.
🧩 Requirements
Use our official workflow: Auto-deploy Before setting up, you’ll need:- A Cytric Panel API Key — get yours from your Cytric Account
- Your Server ID, found in your bot’s dashboard on the Cytric panel
⚙️ Setup
This GitHub Action requires one secret and one variable to be configured in your repository.- Go to your repository’s Settings → Secrets and variables → Actions.
- Add the following:
- Secret:
Name —PTERODACTYL_API_KEY
Value — your Cytric Panel API key - Variable:
Name —SERVER_ID
Value — your Cytric server ID
- Secret:
- After setting them up, navigate to the Actions tab and create a new workflow.
- Paste the contents of
main.ymlinto your workflow file and commit the changes.
🔁 Result
Once configured, every time you push to yourmain branch, your bot will:
- Automatically restart on Cytric
- Pull the latest changes from your repository
- Stay up to date without manual restarts
© 2025 Cytric. All rights reserved.