Link Search Menu Expand Document

Catalog Deploy Action

This action allows you to deploy an application from the catalog.

Environment Variables

Variable Description
PLAYGROUND_PAT The PLAYGROUND_PAT environment variable contains the Napptive Personal Access Token.

Inputs

Input Description
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@v3.0.1
        env:
          PLAYGROUND_PAT: ${{ secrets.PLAYGROUND_PAT }}
        with:
          appName: "napptive/drawio:14.3.0"