Thiht / qovery-github-actions

Qovery Github action allowing to deploy application.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Qovery logo

Deploy your apps on any Cloud providers in just a few seconds ⚡

Tests

The simplest way to deploy your apps in the Cloud


Qovery GitHub Actions

Qovery GitHub Actions is a GitHub Actions plugin allowing Qovery users to integrate Qovery within their CI nicely.

Please note: We take Qovery security and our users' trust very seriously. If you believe you have found a security issue in Qovery, please responsibly disclose by contacting us at security@qovery.com.

✅ Requirements

  • A Qovery account. Sign up now if you don't have any account yet.

📖 Installation

  • Create an API key: how to generate your API token?
  • Setup a secret named QOVERY_API_TOKEN within your repository Secrets section and set its value with output of the previous step.

🔌 Usage

  • Add a new job to your GitHub workflow (e.q. adding a step after your tests) using Qovery/qovery-action action.

Deploy your application or container

on: [push]

jobs:
  deploy:
    runs-on: ubuntu-latest
    name: Deploy on Qovery
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Deploy on Qovery
        uses: Qovery/qovery-action@main
        id: qovery
        with:
          qovery-organization-id: [YOUR_QOVERY_ORGANIZATION_UUID]
          qovery-project-id: [YOUR_QOVERY_PROJECT_UUID]
          qovery-environment-id: [APPLICATION_QOVERY_ENVIRONMENT_UUID]
          qovery-application-ids: [APPLICATION_QOVERY_APPLICATION_UUID_1,APPLICATION_QOVERY_APPLICATION_UUID_2] # Comma-separated UUID (case sensitive)
          qovery-application-commit-id: [APPLICATION_QOVERY_APPLICATION_COMMIT_ID]
          qovery-api-token: ${{secrets.QOVERY_API_TOKEN}}
          qovery-container-ids: [CONTAINER_QOVERY_UUID_1, CONTAINER_QOVERY_UUID_2]
          qovery-container-tags: [CONTAINER_QOVERY_UUID_1_TAG, CONTAINER_QOVERY_UUID_2_TAG]

Deploy a database

on: [push]

jobs:
  deploy:
    runs-on: ubuntu-latest
    name: Deploy on Qovery
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Deploy on Qovery
        uses: Qovery/qovery-action@main
        id: qovery
        with:
          qovery-organization-id: [YOUR_QOVERY_ORGANIZATION_UUID]
          qovery-project-id: [YOUR_QOVERY_PROJECT_UUID]
          qovery-environment-id: [APPLICATION_QOVERY_ENVIRONMENT_UUID]
          qovery-database-id: [APPLICATION_QOVERY_DATABASE_UUID]
          qovery-api-token: ${{secrets.QOVERY_API_TOKEN}}

About

Qovery Github action allowing to deploy application.

License:MIT License


Languages

Language:Go 99.1%Language:Dockerfile 0.9%