Skip to content

gitpod-io/setup-ona

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Setup Ona CLI

A GitHub Action that downloads and configures the Ona CLI for use in workflows.

Usage

- uses: ona-io/setup-ona@v1
  with:
    token: ${{ secrets.ONA_TOKEN }}  # optional

Inputs

Input Description Required Default
channel Release channel: stable or latest No stable
token Ona access token for authentication No -

Examples

Basic usage (unauthenticated)

steps:
  - uses: ona-io/setup-ona@v1
  - run: gitpod --help

With authentication

steps:
  - uses: ona-io/setup-ona@v1
    with:
      token: ${{ secrets.ONA_TOKEN }}
  - run: gitpod whoami
  - run: gitpod environment list

Use latest channel

steps:
  - uses: ona-io/setup-ona@v1
    with:
      channel: latest

Create an environment from CI

steps:
  - uses: ona-io/setup-ona@v1
    with:
      token: ${{ secrets.ONA_TOKEN }}
  - run: gitpod environment create https://github.com/${{ github.repository }}

Supported platforms

  • Linux (x64, arm64)
  • macOS (x64, arm64)
  • Windows (x64, arm64)

Getting an Ona token

  1. Go to gitpod.io/user/tokens
  2. Create a new access token
  3. Add it as a repository secret named ONA_TOKEN

License

MIT

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published