Catalog Deploy Action

This action allows you to deploy an application from the Napptive Catalog.

Napptive Catalog

The Catalog is a collection of applications ready to be deployed. All users of the Napptive Playground have the applications contained in the catalog at their disposal.

To list all available applications, execute:

$ playground login
Logged into account [account] - environment [environment]

$ playground catalog list
...

Environment Variables

  • PLAYGROUND_PAT

The PLAYGROUND_PAT environment variable contains the Napptive Personal Access Token.

Inputs

  • appName

With the name of the application to deploy. This input is required.

  • environment

To specify the environment where the application is going to be deployed. If empty, the application will be deployed in the default environment.

  • playgroundConfigFile

This file allows you to change the target playground installation. Visit documentation for an example.


Example

name: Deploy to Napptive Playground from Catalog
on: [push]
jobs:
  deploy:
    name: Catalog deploy
    runs-on: ubuntu-latest
    steps:
      # Deploying napptive/drawio:14.3.0 from the catalog
      - uses: napptive-actions/catalog-deploy-action@v6.3.0
        env:
          PLAYGROUND_PAT: ${{ secrets.PLAYGROUND_PAT }}
        with:
          appName: "napptive/drawio:14.3.0"