Skip to content

Commit

Permalink
Merge pull request #8 from Cerebellum-Network/feature/add-readme
Browse files Browse the repository at this point in the history
Add README
  • Loading branch information
Dmitriy Molchanov authored Dec 19, 2022
2 parents 7c3ca8f + ad0cd1b commit c29439d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions README.md
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.
Binary file added preview.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c29439d

Please sign in to comment.