Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
play

GitHub Action

Napptive Playground action

v4.3.0

Napptive Playground action

play

Napptive Playground action

Execute Napptive Playground commands. The Playground offers a managed service to deploy complex cloud-native applications

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Napptive Playground action

uses: napptive-actions/playground-github-action@v4.3.0

Learn more about this action in napptive-actions/playground-github-action

Choose a version

PLAYGROUND-GITHUB-ACTIONS

With playground github action you will execute a Napptive playground command.

Napptive playground simplifies the process to depoy and maintenance cloud-native applications. Try for free!!

Environment variable

PLAYGROUND_PAT

This environment variable contains a Napptive Personal Access Token used to login to the platform.

Inputs

cmd

The playground command to run. This input is required

environment

To specify a target account/environment if proceed. No required input.

playgroundConfigFile

To use a custom YAML file to change the target playground installation. No required This file contains a playground installation configuration. Visit documentation for an example.

Example usage

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@v4.3.0
        env:
          PLAYGROUND_PAT: ${{ secrets.PLAYGROUND_PAT }}
        with:
          cmd: "apps"

License

Copyright 2020 Napptive

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.