Playground Github Action
This action allows you to execute the Playground command you need.
Playground
The Playground simplifies the process to deploy and maintain cloud-native applications. It’s free!!
Environment Variables
PLAYGROUND_PAT
The PLAYGROUND_PAT environment variable contains the Napptive Personal Access Token.
Inputs
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 applications
on: [push]
jobs:
deploy:
name: Playground List applications
runs-on: ubuntu-latest
steps:
# Get a copy of the repo.
- uses: actions/checkout@v2
# Execute `playground apps `.
- uses: napptive-actions/playground-github-action@v6.3.0
env:
PLAYGROUND_PAT: ${{ secrets.PLAYGROUND_PAT }}
with:
cmd: "apps"