Skip to content

inigolabs/github-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inigo Github action

This action performs Inigo schema check and apply operations. It requires authentication, for a documentation of configuring it, please visit docs.inigo.io.

Usage

- uses: inigolabs/github-action@main
  with:
    # Required. Inigo username.
    username: ${{ secrets.INIGO_USERNAME }}

    # Required. Inigo password.
    password: ${{ secrets.INIGO_PASSWORD }}

    # Required. Relative path under $GITHUB_WORKSPACE to read Inigo configuration files.
    path: ''

    # Optional. Inigo service label.
    # Default: ''
    label: ''

    # Optional. Action to perform: "check" for CI, "apply" for CD.
    # Default: 'check'
    action: ''

CI Integration

      - name: Inigo GraphQL
        uses: inigolabs/github-action@main
        with:
          username: ${{ secrets.INIGO_USERNAME }}
          password: ${{ secrets.INIGO_PASSWORD }}
          path: configs/*.yml

CD Integration

      - name: Inigo GraphQL
        uses: inigolabs/github-action@main
        with:
          username: ${{ secrets.INIGO_USERNAME }}
          password: ${{ secrets.INIGO_PASSWORD }}
          path: configs/*.yml
          action: 'apply'

Different Inigo services

Inigo uses service labels to distinguish environments. To share Inigo configuration between environments, it's allowed to use same yaml files and specify the label during execution.

      - name: Inigo GraphQL
        uses: inigolabs/github-action@main
        with:
          username: ${{ secrets.INIGO_USERNAME }}
          password: ${{ secrets.INIGO_PASSWORD }}
          path: configs/*.yml
          label: ${{ env.IS_STAGING && 'staging' || 'production' }}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published