Skip to content

enyilCorp/example-azure-function

Repository files navigation

Probot & Azure Functions example

This repository is an example of how to deploy the "Hello, World" of probot apps to Azure Functions.

Local setup

npm install
npm start

Open http://localhost:3000 and follow instructions to register a GitHub App for testing. When done, an .env file with your app's credentials will exist.

Deployment through GitHub Actions

In the Azure Console, navigate to Function App -> your app -> Configuration and add the environment variables required by Probot

Then in your repository settings, create two secrets:

  1. AZURE_CREDENTIALS: see https://github.com/azure/login#configure-deployment-credentials for how to retrieve it from the Azure Console.
  2. AZURE_FUNCTION_APP_PUBLISH_PROFILE: see https://github.com/Azure/functions-action#using-publish-profile-as-deployment-credential-recommended for how to retrieve it from the Azure Console.

License

ISC

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy