KO
|
EN
gitlite โ search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
deploy
โ 22
Open GitHub โ
A Probot app to trigger deployments on GitHub
Download README (.md)
Explore Similar Repositories
sanic_sse
:
Sanic Server-Sent Events extension
CTF-Notes
:
No description available.
cloudflare-workers-webpack-plugin
:
Launch Cloudflare Workers to the Edge from the comfort of your build step ๐
Aiqiyi-SparkStreaming
:
SparkStreaming็ฑๅฅ่บๅฎๆถๆต็ป่ฎกๅๅฏ่งๅๅฑ็คบ
prettier-linter-helpers
:
Helper functions for exposing prettier changes within linting tools
// repository documentation
Was this content helpful?
โ 0
(0 ratings)
Select Rating:
โ
โ
โ
โ
โ
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
deploy
?
Download (.md)
# deploy [](https://travis-ci.org/helaili/deploy) A [Probot](https://github.com/probot/probot) app triggering deployment events on GitHub based on pull request labels.  :warning: This app doesn't deploy anything. :warning: It just triggers a deployment request which will be forwarded to any webhook listening to the deploy event on your repo or on your organization. Check GitHub's [deployment API](https://developer.github.com/v3/repos/deployments/) for more information. ## Setup - Install the app from [its public page](https://github.com/apps/deploy) - Commit a `.github/deploy.yml` file in your repository with the description of your environments. Spaces must be escaped. You can use whichever [environment parameter](https://developer.github.com/v3/repos/deployments/#parameters) used by GitHub's deployment API ``` labels: Deploy%20to%20Staging: environment: staging deploy-to-test: environment: test description: A test environment based on Docker transient_environment: true auto_merge: false required_contexts: - continuous-integration/travis-ci/push payload: port: 8080 https: true ``` - Create matching labels in your repository  - Now just add one of these labels to your PR. The label will automatically be removed once the deployment has been requested.  ## FAQ In case you haven't waited for your Continuous Integration or other integrations to complete, or if one of them has failed and should be considered optional, you will get the comment below. You then have to modify your label description and include a `required_contexts` section which will list those contexts which are required. All others will be optional.  If your branch is conflicting with master, your deployment will fail (see below). If you do want to deploy a conflicting branch, then set `auto_merge` to `false` in your label configuration.  This app works for both github.com and GitHub Enterprise. In the later case, you will need to run your own instance of this app as described in [the Pobot documentation](https://probot.github.io/docs/deployment/). Do not forgot to set the `GHE_HOST` environment variable as described [here](https://probot.github.io/docs/github-api/#github-enterprise). ## Contributing If you have suggestions for how *deploy* could be improved, or want to report a bug, open an issue! We'd love all and any contributions. For more, check out the [Contributing Guide](CONTRIBUTING.md). ## License [ISC](#LICENSE) ยฉ 2020 Alain Hรฉlaรฏli <helaili@github.com> (https://github.com/helaili/deploy)