Skip to content

YaRissi/setup-coolify

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

GitHub Actions for Coolify

This action enables you to interact with Coolify services by installing the Coolify CLI.

Usage

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 }}

Examples

Deploy an application or service

- name: Deploy application
  run: coolify deploy name "my-awesome-app"

Sync environment variables from a file

- name: Sync environment variables
  run: coolify app env sync "app-uuid-here" --file .env.production

List all servers or resources

- name: List servers
  run: coolify server list

Arguments

  • token - (Required) A Coolify API token (Authorization).
  • url - (Optional) The URL of your Coolify instance. Default: https://app.coolify.io
  • version - (Optional) The version of coolify to install. If excluded, the latest release will be used.

Credits

This action is heavily inspired from DigitalOcean/action-doctl

License

This GitHub Action and associated scripts and documentation in this project are released under the MIT License.

About

GitHub Actions for Coolify CLI

Resources

License

Stars

Watchers

Forks

Packages

No packages published