GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - probot/example-azure-function: Probot & Azure Functions example

BranchesTags
Open more actions menu

Latest commit

 

History

87 Commits
87 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
ProbotFunction
ProbotFunction
 
 
.gitignore
.gitignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
app.js
app.js
 
 
app.yml
app.yml
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
test.js
test.js
 
 

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

  • APP_ID
  • PRIVATE_KEY (you can encode your key value at https://www.base64encode.org/)
  • WEBHOOK_SECRET

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

Probot & Azure Functions example

Resources

Readme
ISC license

Code of conduct

Code of conduct
Activity
Custom properties

Stars

3 stars

Watchers

2 watching

Forks

8 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.