This action allows you to execute the Playground command you need. For more information check the getting started on using the CLI.
Environment Variables
Variable
Description
PLAYGROUND_PAT
The PLAYGROUND_PAT environment variable contains the Napptive Personal Access Token.
Inputs
Input
Description
cmd
The playground command to run. 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:List deployed applicationson:[push]jobs:deploy:name:Playground List applicationsruns-on:ubuntu-lateststeps:# Get a copy of the repo.-uses:actions/checkout@v2# Execute `playground apps `.-uses:napptive-actions/playground-github-action@v3.0.1env:PLAYGROUND_PAT:${{ secrets.PLAYGROUND_PAT }}with:cmd:"apps"