Skip to content
arrow-up-circle

GitHub Action

StackSpot Run Command

v1.1.0 Latest version

StackSpot Run Command

arrow-up-circle

StackSpot Run Command

GitHub Action to run CLI Command

Installation

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

              

- name: StackSpot Run Command

uses: stack-spot/cli-github-action-run-command@v1.1.0

Learn more about this action in stack-spot/cli-github-action-run-command

Choose a version

cli-github-action-run-command

Action test

GitHub Action Run CLI Commands

📚 Usage

Requirements

To learn more about generating account keys(CLIENT_ID, CLIENT_KEY, REALM), please refer to the documentation: https://docs.stackspot.com/home/account/enterprise/service-credential

Use Case

    steps:
      - uses: stack-spot/cli-github-action-run-command@v1.0.0
        with:
          client_id: ${{ secrets.CLIENT_ID }}
          client_key: ${{ secrets.CLIENT_KEY }}
          realm: ${{ secrets.REALM }}
          command_stk: "register app-deploy --version 1.0.0 --env dev --status succcess"

License

Apache License 2.0