Skip to content
/ goact Public

Goact - is a CLI to create default github actions

License

Notifications You must be signed in to change notification settings

miltlima/goact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Buy Me A Coffee"

goact cli

Documentation

Goact is a command-line tool (CLI) that enables you to create pipeline stacks to automate workflows on GitHub Actions.

Installation

Follow the steps below to install:

  1. Download the Goact source code or clone the GitHub repository.

  2. Navigate to the Goact project directory.

  3. Compile the Goact code to create the executable:

go build

Move the executable to a folder that is in your system's PATH:

sudo mv goact /usr/local/bin

Usage

Goact is designed to make it easy to create pipeline stacks in GitHub Actions. With the create command, you can configure GitHub Actions and generate essential files for your actions.

Command create

The create command is used to create the GitHub Actions configuration for a specific pipeline stack.

goact create --stack <STACK_NAME>

Replace <STACK_NAME> with the name of the stack you want to create, for example, node.js, python, java, golang or ruby.

goact create --stack node.js

Optional

Optionally, you can create dockerfile with stack desired for you projects per example you choose ruby as a stack add the flag -d will create a dockerfile for ruby

goact create --stack ruby -d