https://github.com/flowup/releases-example-app
Example app for GitHub releases workshop
https://github.com/flowup/releases-example-app
Last synced: 5 months ago
JSON representation
Example app for GitHub releases workshop
- Host: GitHub
- URL: https://github.com/flowup/releases-example-app
- Owner: flowup
- Created: 2024-06-13T13:35:54.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-17T13:52:32.000Z (about 2 years ago)
- Last Synced: 2025-07-11T13:38:23.124Z (12 months ago)
- Language: HTML
- Size: 172 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example app for GitHub Releases workshop
A basic web app built with Angular and deployed as SPA with Firebase Hosting. Serves to demonstrate using **multiple environments** and **triggering production deployment via GitHub Release**.
## Environments
Environments are defined in repository settings, secrets are defined separately per environment.
- [**production** environment](./.github/workflows/production.yml) is triggered by `v*` tag pushed by creating GitHub Release
- [**staging** environment](./.github/workflows/staging.yml) is automatically deployed on every push to `main` branch (e.g. after PR merge)
- [**preview** environments](./.github/workflows/preview.yml) are deployed individually for every PR (a comment is posted with a URL which is unique to the branch)
## Release instructions
In GitHub UI, [create a new release](https://github.com/flowup/releases-example-app/releases/new). Create a new tag in the format `vX.Y` (increment that last released version by 1). Generate release notes, select as latest release and publish. This will trigger a [deployment to production](https://github.com/flowup/releases-example-app/actions/workflows/production.yml).
## Links
- [Actions](https://github.com/flowup/releases-example-app/actions)
- [Releases](https://github.com/flowup/releases-example-app/releases)
- [Deployments](https://github.com/flowup/releases-example-app/deployments)