Skip to content

BenValentim/gen-github-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Actions Generator

The GitHub Actions Generator is a tool that allows you to automatically generate GitHub Actions configuration files based on customizable templates provided by the user. With this project, you can automate repetitive tasks and set up custom workflows according to your project's needs.

Installation

To start using the GitHub Actions Generator, you need to install the npm or yarn package. Run the following command in your terminal:

npm install gen-github-actions

or

yarn add gen-github-actions

How to Use

After installing the package, you can use the generate command followed by an array of environments for which the files will be generated and whether to use the variables from your env-sample and env-ci=sample. For example:

genActions.generate([
{
"<WORKSPACE>": "dev",
"<SERVER_PATH>": "/test/url/",
"<TASK_NAME>": "fill env dev"
},
{
"<WORKSPACE>": "main",
"<SERVER_PATH>": "/test-main/url/",
"<TASK_NAME>": "fill env main"
}
], true, true);

or

npx gen-github-actions generate

Contribution

If you encounter any issues or have suggestions for improvement, feel free to open an issue in this repository. We welcome contributions from all levels of experience.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published