GitHub Action
@contentful/actions-app-deploy is a custom GitHub Action to deploy a static Contentful app to Contentful App Hosting via GitHub Actions.
Try it by running npx create-contentful-app --example typescript-github-action in your terminal. This will automatically set up a new project with a configured GitHub Actions workflow.
Usage
After building your app, add the following step to your existing GitHub Actions job:
When the job is run, the files are automatically uploaded as an AppBundle and promoted to the active bundle of the app definition. The new app is immediately served to all users.
Parameters
The GitHub Action requires four parameters to run: