0.0.4 • Published 5 years ago

@anilanar/moxci v0.0.4

Weekly downloads
65
License
MIT
Repository
github
Last release
5 years ago

CircleCI npm version

This repository is a fork of moxci. Unlike the original, this one uses status checks instead of posting PR comments.

Moxci is a tool that will send Github commit status. It will add a success status. The URL linked to the status is the link to the artifact.

It can be used to send a link of the latest storybook as a status update..

:package: Installation

yarn add -D @anilanar/moxci

:book: Example

In order to user moxci, you will need to set up a CircleCI project.

In your Project Settings -> Environment Variables, enter your Circle CI API Token as CIRCLE_TOKEN, and Github API Token as GITHUB_TOKEN

In your config.yml for CircleCI, add commands to specify the path that contains the artifact you'd like to notify.

- store_artifacts:
    path: path_to_artifacts
- run:
    name: Send artifact URL to Github
    command: yarn moxci path_to_artifacts/index.html
0.0.4

5 years ago

0.0.3

5 years ago

0.0.3-rc.2

5 years ago

0.0.3-rc.1

5 years ago

0.0.2

5 years ago

0.0.2-rc.1

5 years ago

0.0.1

5 years ago