Merge pull request #241 from helaili/listing-probot-deploy

Add probot-deploy to the app directory
This commit is contained in:
Bex Warner
2018-09-04 16:16:23 -04:00
committed by GitHub

21
_apps/deploy Normal file
View File

@@ -0,0 +1,21 @@
---
# A human-friendly name of your listing
title: Deploy
# A short description of what your app does
description: Triggers a deployment event on GitHub based on pull request labels.
# The slug of your hosted app on GitHub (https://github.com/apps/YOUR-SLUG)
slug: deploy
# Include a few screenshots that show your app in action
screenshots:
- https://user-images.githubusercontent.com/2787414/44789192-3f4c1a00-ab9c-11e8-9093-353dfbe1bc1e.gif
# The GitHub usernames of anyone who authored the app
authors: [ helaili ]
# The repository where the code is located
repository: helaili/deploy
# The address where this app is deployed
host: https://probot-deploy-dotcom.now.sh
---
This app uses GitHub's deployment API and triggers a deployment event when a matching label is applied to a Pull Request.
Note that this app doesn't actually deploy anything, 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 (this app would be the *Tooling* box on the sequence diagram).