Skip to content

Send deployment notification to the Github

Notifications You must be signed in to change notification settings

distribusion/github-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-deployment

Send deployment events to the Github

USAGE:
    github-deployment [FLAGS] [OPTIONS] <repo> --head <head> --status <status>

FLAGS:
    -d, --debug      Show the debug messages
    -h, --help       Prints help information
    -q, --quiet      Exit without a failure even if shit happened
    -V, --version    Prints version information

OPTIONS:
        --base <base>        The ref of the previous deployment. This can be a branch, tag, or SHA
        --head <head>        The ref of the current deployment. This can be a branch, tag, or SHA
        --status <status>    A deployment status to be set [default: pending]  [values: pending, error, success, failure]

ARGS:
    <repo>    A Github repository path as <owner>/<repo>

Release

$ make release
$ ls -l releases/x86_64-unknown-linux-gnu/

Development

  1. Install rustup.rs

    $ curl https://sh.rustup.rs -sSf | sh
  2. Install latest rust-lang (let's say 1.19.0)

    $ rustup update
    $ rustup default 1.19.0
  3. Build the binary and for simplicity link it

    $ make
    $ ln -s ./target/debug/github-deployment ./github-deployment

TODO

  • Better compilation.mk with mounting
  • Better debug output and error messages

Releases

No releases published

Packages

No packages published