forked from itconsultis/simple-html-maintenance-page
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from Cerebellum-Network/feature/add-readme
Add README
- Loading branch information
Showing
2 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,20 @@ | ||
# Maintenance | ||
|
||
This is a simple maintenance page feel free to use it ! | ||
This is a Cere maintenance page which can be setup and enabled for any UI application: | ||
|
||
## How to install | ||
![preview](https://raw.githubusercontent.com/Cerebellum-Network/maintenance-page/feature/add-readme/preview.jpg) | ||
|
||
Simply download the index.html, modify its content, and copy it to your desired path. | ||
## Add an application to Github actions | ||
|
||
Additionally you can use the provided install.sh script. | ||
1. Create an `<app>-<env>.yaml` workflow file separatelly for each environment. | ||
2. In the `<app>-<env>.yaml` write your team name to show it on the maintenance page. | ||
3. Add app secrets `<APP>_S3_BUCKET_NAME_DEV`, `<APP>_CF_DISTRIBUTION_ID_DEV` for this repository. | ||
3. Create, approve and merge a PR into `dev-cere` branch. | ||
|
||
## Enable maintenance mode | ||
|
||
1. Run your application workflow in [GitHub Actions](https://github.com/Cerebellum-Network/maintenance-page/actions). | ||
|
||
## Disable maintenance mode | ||
|
||
1. Re-deploy your original application. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.