From fe5c47b6745f3f4838979d7e323989dbf1667daf Mon Sep 17 00:00:00 2001 From: Dmitriy Date: Fri, 25 Nov 2022 20:11:21 +0300 Subject: [PATCH 1/2] Update UI according to Cere guide book --- .github/workflows/bridge-dev.yaml | 2 +- .github/workflows/bridge-prod.yaml | 2 +- .github/workflows/bridge-stage.yaml | 2 +- .github/workflows/explorer-dev.yaml | 2 +- .github/workflows/explorer-prod.yaml | 2 +- .github/workflows/explorer-stage.yaml | 2 +- .github/workflows/stats-dev.yaml | 2 +- .github/workflows/stats-prod.yaml | 2 +- .github/workflows/stats-stage.yaml | 2 +- index.html | 16 ++++++++-------- install.sh | 4 +--- 11 files changed, 18 insertions(+), 20 deletions(-) diff --git a/.github/workflows/bridge-dev.yaml b/.github/workflows/bridge-dev.yaml index 2f8f0da..b50448e 100644 --- a/.github/workflows/bridge-dev.yaml +++ b/.github/workflows/bridge-dev.yaml @@ -10,7 +10,7 @@ jobs: build_container: 'node:14-buster-slim' deploy_container: 'ubuntu:20.04' install_packages_command: 'echo "Installing is not required"' - build_command: 'printf "Cere team\n team@cere.network\n" | ./install.sh' + build_command: 'printf "Cere Team\n team@cere.network\n" | ./install.sh' path_to_static_files_to_upload: './build' secrets: NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.DEV_NETWORK_AWS_ACCESS_KEY_ID }} diff --git a/.github/workflows/bridge-prod.yaml b/.github/workflows/bridge-prod.yaml index e7ae589..29d8b5b 100644 --- a/.github/workflows/bridge-prod.yaml +++ b/.github/workflows/bridge-prod.yaml @@ -10,7 +10,7 @@ jobs: build_container: 'node:14-buster-slim' deploy_container: 'ubuntu:20.04' install_packages_command: 'echo "Installing is not required"' - build_command: 'printf "Cere team\n team@cere.network\n" | ./install.sh' + build_command: 'printf "Cere Team\n team@cere.network\n" | ./install.sh' path_to_static_files_to_upload: './build' secrets: NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.PRD_NETWORK_AWS_ACCESS_KEY_ID }} diff --git a/.github/workflows/bridge-stage.yaml b/.github/workflows/bridge-stage.yaml index 34cda21..ffd48bd 100644 --- a/.github/workflows/bridge-stage.yaml +++ b/.github/workflows/bridge-stage.yaml @@ -10,7 +10,7 @@ jobs: build_container: 'node:14-buster-slim' deploy_container: 'ubuntu:20.04' install_packages_command: 'echo "Installing is not required"' - build_command: 'printf "Cere team\n team@cere.network\n" | ./install.sh' + build_command: 'printf "Cere Team\n team@cere.network\n" | ./install.sh' path_to_static_files_to_upload: './build' secrets: NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.STG_NETWORK_AWS_ACCESS_KEY_ID }} diff --git a/.github/workflows/explorer-dev.yaml b/.github/workflows/explorer-dev.yaml index c0a0b7f..fc677cd 100644 --- a/.github/workflows/explorer-dev.yaml +++ b/.github/workflows/explorer-dev.yaml @@ -10,7 +10,7 @@ jobs: build_container: 'node:14-buster-slim' deploy_container: 'ubuntu:20.04' install_packages_command: 'echo "Installing is not required"' - build_command: 'printf "Cere team\n team@cere.network\n" | ./install.sh' + build_command: 'printf "Cere Team\n team@cere.network\n" | ./install.sh' path_to_static_files_to_upload: './build' secrets: NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.DEV_NETWORK_AWS_ACCESS_KEY_ID }} diff --git a/.github/workflows/explorer-prod.yaml b/.github/workflows/explorer-prod.yaml index 1c9a8d2..94789dd 100644 --- a/.github/workflows/explorer-prod.yaml +++ b/.github/workflows/explorer-prod.yaml @@ -10,7 +10,7 @@ jobs: build_container: 'node:14-buster-slim' deploy_container: 'ubuntu:20.04' install_packages_command: 'echo "Installing is not required"' - build_command: 'printf "Cere team\n team@cere.network\n" | ./install.sh' + build_command: 'printf "Cere Team\n team@cere.network\n" | ./install.sh' path_to_static_files_to_upload: './build' secrets: NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.PRD_NETWORK_AWS_ACCESS_KEY_ID }} diff --git a/.github/workflows/explorer-stage.yaml b/.github/workflows/explorer-stage.yaml index 488f4a9..01894da 100644 --- a/.github/workflows/explorer-stage.yaml +++ b/.github/workflows/explorer-stage.yaml @@ -10,7 +10,7 @@ jobs: build_container: 'node:14-buster-slim' deploy_container: 'ubuntu:20.04' install_packages_command: 'echo "Installing is not required"' - build_command: 'printf "Cere team\n team@cere.network\n" | ./install.sh' + build_command: 'printf "Cere Team\n team@cere.network\n" | ./install.sh' path_to_static_files_to_upload: './build' secrets: NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.STG_NETWORK_AWS_ACCESS_KEY_ID }} diff --git a/.github/workflows/stats-dev.yaml b/.github/workflows/stats-dev.yaml index 85e7a78..7576793 100644 --- a/.github/workflows/stats-dev.yaml +++ b/.github/workflows/stats-dev.yaml @@ -10,7 +10,7 @@ jobs: build_container: 'node:14-buster-slim' deploy_container: 'ubuntu:20.04' install_packages_command: 'echo "Installing is not required"' - build_command: 'printf "Cere team\n team@cere.network\n" | ./install.sh' + build_command: 'printf "Cere Team\n team@cere.network\n" | ./install.sh' path_to_static_files_to_upload: './build' secrets: NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.DEV_NETWORK_AWS_ACCESS_KEY_ID }} diff --git a/.github/workflows/stats-prod.yaml b/.github/workflows/stats-prod.yaml index f5c2ca0..3a649c1 100644 --- a/.github/workflows/stats-prod.yaml +++ b/.github/workflows/stats-prod.yaml @@ -10,7 +10,7 @@ jobs: build_container: 'node:14-buster-slim' deploy_container: 'ubuntu:20.04' install_packages_command: 'echo "Installing is not required"' - build_command: 'printf "Cere team\n team@cere.network\n" | ./install.sh' + build_command: 'printf "Cere Team\n team@cere.network\n" | ./install.sh' path_to_static_files_to_upload: './build' secrets: NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.PRD_NETWORK_AWS_ACCESS_KEY_ID }} diff --git a/.github/workflows/stats-stage.yaml b/.github/workflows/stats-stage.yaml index 0fa057c..c7b18df 100644 --- a/.github/workflows/stats-stage.yaml +++ b/.github/workflows/stats-stage.yaml @@ -10,7 +10,7 @@ jobs: build_container: 'node:14-buster-slim' deploy_container: 'ubuntu:20.04' install_packages_command: 'echo "Installing is not required"' - build_command: 'printf "Cere team\n team@cere.network\n" | ./install.sh' + build_command: 'printf "Cere Team\n team@cere.network\n" | ./install.sh' path_to_static_files_to_upload: './build' secrets: NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.STG_NETWORK_AWS_ACCESS_KEY_ID }} diff --git a/index.html b/index.html index 3c9e919..9541d90 100644 --- a/index.html +++ b/index.html @@ -4,23 +4,23 @@ Site is down for maintenance +
-

Site is temporarily unavailable.

+

Site is temporarily unavailable

Scheduled maintenance is currently in progress. Please check back soon.

We apologize for any inconvenience.

-

[Name]

+

[Name]

diff --git a/install.sh b/install.sh index 92a1aab..1049317 100755 --- a/install.sh +++ b/install.sh @@ -3,9 +3,7 @@ mkdir ./build TEMP_FILE="build/index.html" -printf "Yes\n" | apt install curl - -curl -sSL https://raw.githubusercontent.com/Cerebellum-Network/maintenance-page/master/index.html > $TEMP_FILE +cat ./index.html > $TEMP_FILE echo -n "Name (optional): " 1>&2 read NAME From 4f3c109d649ade15c87d1f59d6a16afd4cefe516 Mon Sep 17 00:00:00 2001 From: Dmitriy Date: Fri, 25 Nov 2022 20:26:40 +0300 Subject: [PATCH 2/2] Remove email from workflow --- .github/workflows/bridge-dev.yaml | 2 +- .github/workflows/bridge-prod.yaml | 2 +- .github/workflows/bridge-stage.yaml | 2 +- .github/workflows/explorer-dev.yaml | 2 +- .github/workflows/explorer-prod.yaml | 2 +- .github/workflows/explorer-stage.yaml | 2 +- .github/workflows/stats-dev.yaml | 2 +- .github/workflows/stats-prod.yaml | 2 +- .github/workflows/stats-stage.yaml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/bridge-dev.yaml b/.github/workflows/bridge-dev.yaml index b50448e..dc84417 100644 --- a/.github/workflows/bridge-dev.yaml +++ b/.github/workflows/bridge-dev.yaml @@ -10,7 +10,7 @@ jobs: build_container: 'node:14-buster-slim' deploy_container: 'ubuntu:20.04' install_packages_command: 'echo "Installing is not required"' - build_command: 'printf "Cere Team\n team@cere.network\n" | ./install.sh' + build_command: 'printf "Cere Team\n" | ./install.sh' path_to_static_files_to_upload: './build' secrets: NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.DEV_NETWORK_AWS_ACCESS_KEY_ID }} diff --git a/.github/workflows/bridge-prod.yaml b/.github/workflows/bridge-prod.yaml index 29d8b5b..540718a 100644 --- a/.github/workflows/bridge-prod.yaml +++ b/.github/workflows/bridge-prod.yaml @@ -10,7 +10,7 @@ jobs: build_container: 'node:14-buster-slim' deploy_container: 'ubuntu:20.04' install_packages_command: 'echo "Installing is not required"' - build_command: 'printf "Cere Team\n team@cere.network\n" | ./install.sh' + build_command: 'printf "Cere Team\n" | ./install.sh' path_to_static_files_to_upload: './build' secrets: NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.PRD_NETWORK_AWS_ACCESS_KEY_ID }} diff --git a/.github/workflows/bridge-stage.yaml b/.github/workflows/bridge-stage.yaml index ffd48bd..0dda60c 100644 --- a/.github/workflows/bridge-stage.yaml +++ b/.github/workflows/bridge-stage.yaml @@ -10,7 +10,7 @@ jobs: build_container: 'node:14-buster-slim' deploy_container: 'ubuntu:20.04' install_packages_command: 'echo "Installing is not required"' - build_command: 'printf "Cere Team\n team@cere.network\n" | ./install.sh' + build_command: 'printf "Cere Team\n" | ./install.sh' path_to_static_files_to_upload: './build' secrets: NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.STG_NETWORK_AWS_ACCESS_KEY_ID }} diff --git a/.github/workflows/explorer-dev.yaml b/.github/workflows/explorer-dev.yaml index fc677cd..73eb5db 100644 --- a/.github/workflows/explorer-dev.yaml +++ b/.github/workflows/explorer-dev.yaml @@ -10,7 +10,7 @@ jobs: build_container: 'node:14-buster-slim' deploy_container: 'ubuntu:20.04' install_packages_command: 'echo "Installing is not required"' - build_command: 'printf "Cere Team\n team@cere.network\n" | ./install.sh' + build_command: 'printf "Cere Team\n" | ./install.sh' path_to_static_files_to_upload: './build' secrets: NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.DEV_NETWORK_AWS_ACCESS_KEY_ID }} diff --git a/.github/workflows/explorer-prod.yaml b/.github/workflows/explorer-prod.yaml index 94789dd..4b2fcea 100644 --- a/.github/workflows/explorer-prod.yaml +++ b/.github/workflows/explorer-prod.yaml @@ -10,7 +10,7 @@ jobs: build_container: 'node:14-buster-slim' deploy_container: 'ubuntu:20.04' install_packages_command: 'echo "Installing is not required"' - build_command: 'printf "Cere Team\n team@cere.network\n" | ./install.sh' + build_command: 'printf "Cere Team\n" | ./install.sh' path_to_static_files_to_upload: './build' secrets: NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.PRD_NETWORK_AWS_ACCESS_KEY_ID }} diff --git a/.github/workflows/explorer-stage.yaml b/.github/workflows/explorer-stage.yaml index 01894da..1d81f1a 100644 --- a/.github/workflows/explorer-stage.yaml +++ b/.github/workflows/explorer-stage.yaml @@ -10,7 +10,7 @@ jobs: build_container: 'node:14-buster-slim' deploy_container: 'ubuntu:20.04' install_packages_command: 'echo "Installing is not required"' - build_command: 'printf "Cere Team\n team@cere.network\n" | ./install.sh' + build_command: 'printf "Cere Team\n" | ./install.sh' path_to_static_files_to_upload: './build' secrets: NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.STG_NETWORK_AWS_ACCESS_KEY_ID }} diff --git a/.github/workflows/stats-dev.yaml b/.github/workflows/stats-dev.yaml index 7576793..42711fb 100644 --- a/.github/workflows/stats-dev.yaml +++ b/.github/workflows/stats-dev.yaml @@ -10,7 +10,7 @@ jobs: build_container: 'node:14-buster-slim' deploy_container: 'ubuntu:20.04' install_packages_command: 'echo "Installing is not required"' - build_command: 'printf "Cere Team\n team@cere.network\n" | ./install.sh' + build_command: 'printf "Cere Team\n" | ./install.sh' path_to_static_files_to_upload: './build' secrets: NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.DEV_NETWORK_AWS_ACCESS_KEY_ID }} diff --git a/.github/workflows/stats-prod.yaml b/.github/workflows/stats-prod.yaml index 3a649c1..c81a491 100644 --- a/.github/workflows/stats-prod.yaml +++ b/.github/workflows/stats-prod.yaml @@ -10,7 +10,7 @@ jobs: build_container: 'node:14-buster-slim' deploy_container: 'ubuntu:20.04' install_packages_command: 'echo "Installing is not required"' - build_command: 'printf "Cere Team\n team@cere.network\n" | ./install.sh' + build_command: 'printf "Cere Team\n" | ./install.sh' path_to_static_files_to_upload: './build' secrets: NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.PRD_NETWORK_AWS_ACCESS_KEY_ID }} diff --git a/.github/workflows/stats-stage.yaml b/.github/workflows/stats-stage.yaml index c7b18df..72e716e 100644 --- a/.github/workflows/stats-stage.yaml +++ b/.github/workflows/stats-stage.yaml @@ -10,7 +10,7 @@ jobs: build_container: 'node:14-buster-slim' deploy_container: 'ubuntu:20.04' install_packages_command: 'echo "Installing is not required"' - build_command: 'printf "Cere Team\n team@cere.network\n" | ./install.sh' + build_command: 'printf "Cere Team\n" | ./install.sh' path_to_static_files_to_upload: './build' secrets: NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.STG_NETWORK_AWS_ACCESS_KEY_ID }}