simpcicd

Even the smallest projects need their CICD tools.

Usage no npm install needed!

<script type="module">
  import simpcicd from 'https://cdn.skypack.dev/simpcicd';
</script>

README

Simp CICD

Even the smallest projects need their CICD tools.

SimpCICD logo

Deployment made easy.

Downloads Version License Chat

Checkout the official documentation


Warning

Still in active early development stage!...

Send me a message on the discord for every problem you could encounter!

Don't bother beeing polite! We're talking crucial software improvement! I'll do my best to patch the package in the day!

Getting Started

Install

Install the CLI

yarn add -g simpcicd
npm install -g simpcicd

And helpers you need

yarn add -D simpcicd
npm install --save-dev simpcicd

Edit your config file(s) in your project roots

// simp.config.ts
// very tiny config file example

import { defineConfig } from "simpcicd";

const localFiles = `.vitepress/dist/*`;
const remoteFoler = `Static/docs.simp.cicd`;

const config = defineConfig({
  pipelines: [
    {
      name: "default",
      steps: [
        {
          name: "build",
          commands: ["yarn", "yarn build"]
        },
        {
          name: "deploy",
          commands: [`rsync -ar ${localFiles} linode:${remoteFoler}`]
        }
      ],
      trigger: {
        branches: ["main", "master", "dev"],
        actions: ["pre-push"]
      }
    }
  ]
});
export default config;

Activate hooks with

simp hooks

Print Logs with

simp logs

The non-verbose "minimal" output looks actually like that. And is likely to change for the better.

pretty logs

More in the documentation...