gen-github-actions

0.0.9 • Public • Published

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.

Package Sidebar

Install

npm i gen-github-actions

Weekly Downloads

6

Version

0.0.9

License

MIT

Unpacked Size

16.5 kB

Total Files

9

Last publish

Collaborators

  • quasarway