Skip to content

LyraPhase/pre-commit-digitalocean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pre-commit-digitalocean

GitHub license release

pre-commit hooks for DigitalOcean doctl

pre-commit-digitalocean is a pre-commit hook, which runs doctl to check DigitalOcean App Spec files (.do/app.yaml).

Table of Contents

Requirements

pre-commit-digitalocean requires the following to run:

Install

  1. Create a .pre-commit-config.yaml in you git project
  2. pre-commit install
  3. Enjoy!

Example .pre-commit-config.yaml:

- repo: https://github.com/LyraPhase/pre-commit-digitalocean.git
  rev: v0.1.1
  hooks:
  - id: doctl-app-spec-validate
    args: [--verbose]

Contributing

To contribute to pre-commit-shell, clone this repo locally and commit your code on a separate branch.

Author

GitHub @trinitronx

License

pre-commit-digitalocean is licensed under the GPLv3 license.