Giter Site home page Giter Site logo

dcotecnologia / github-dpl-action Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tiagogouvea/github-dpl-action

0.0 0.0 0.0 43 KB

Dpl (dee-pee-ell) Github Action

Home Page: https://github.com/travis-ci/dpl

JavaScript 87.61% Dockerfile 12.39%

github-dpl-action's Introduction

Dpl (dee-pee-ell) GitHub Action

This action allows you to deploy using Dpl.

It was built using dpl v1, that is the currently used in production on Travis CI.

Providers

List of providers already added:

If you want a new provider, open your PR adding the provider params to action.yml, index.js and document it on readme.md, following the heroku pattern. I will be happy to accept your contribution. :)

Inputs

Input Required Description
provider true The provider you want to deploy to.
base-dir false Relative folder from root to mount, could be some like "api"
skip_cleanup false Prevent from resetting your working directory and deleting all changes made during the build.

Every provider has slightly different flags, which are documented in dpl repository.

Heroku

Input Required Description
app false Heroku app name
api-key false Heroku api key
strategy false Deployment strategy for Dpl
username false heroku username. Not necessary if api-key is used. Requires git strategy.
password false heroku password. Not necessary if api-key is used. Requires git strategy.

Outputs

Input Description
result "Successfully deployed" in case of success

If dpl fail running it will throw an error, and the job will fail.

Example

- name: Dpl to heroku
  uses: tiagogouvea/github-dpl-action@master
  with:
    provider: 'heroku'
    app: 'your-heroku-app-name'
    api-key: 'your-66a593c465c7ec9-heroku-api-key'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.