Skip to content

napptive-actions/playground-github-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PLAYGROUND-GITHUB-ACTIONS

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

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

Environment variable

PLAYGROUND_PAT

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

Inputs

cmd

The playground command to run. This input is required

environment

To specify a target account/environment if proceeded. 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@v6.4.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.