Chocolatey packages for Windows must be served from an active server, and unlike Linux packages, can't be served as static content from GitHub Pages. Instead, the packages will be deployed to App Engine to be served by express-chocolatey-server.
This deployment will allow users to use the choco source add
command and
update with choco upgrade
.
- Create an App Engine project in Google Cloud.
- Create a service account key in Google Cloud.
- Copy the key in JSON format to GitHub as a repository secret named
APPENGINE_DEPLOY_KEY
. - Create a GitHub repository secret named
APPENGINE_PROJECT_ID
with the App Engine project ID to deploy to. - Create a GitHub repository secret named
APPENGINE_PROJECT_VERSION
with the App Engine project version to deploy to.
The release.yaml
workflow will use the stored key to deploy updates to App
Engine, which will serve the packages.