Goact is a command-line tool (CLI) that enables you to create pipeline stacks to automate workflows on GitHub Actions.
Follow the steps below to install:
-
Download the Goact source code or clone the GitHub repository.
-
Navigate to the Goact project directory.
-
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
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.
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
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