This action enables you to interact with Coolify services by installing the Coolify CLI.
To install the latest version of coolify and use it in GitHub Actions workflows, create a Coolify API token, and add the following step to your workflow:
- name: Install coolify
uses: yarissi/setup-coolify@v1
with:
token: ${{ secrets.COOLIFY_API_TOKEN }}
# Optional: Defaults to https://app.coolify.io
# url: ${{ secrets.COOLIFY_URL }}- name: Deploy application
run: coolify deploy name "my-awesome-app"- name: Sync environment variables
run: coolify app env sync "app-uuid-here" --file .env.production- name: List servers
run: coolify server listtoken- (Required) A Coolify API token (Authorization).url- (Optional) The URL of your Coolify instance. Default:https://app.coolify.ioversion- (Optional) The version ofcoolifyto install. If excluded, the latest release will be used.
This action is heavily inspired from DigitalOcean/action-doctl
This GitHub Action and associated scripts and documentation in this project are released under the MIT License.