Skip to content

Commit

Permalink
Remove maintenance mode functionality from deploy workflow and scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
hiletmis committed Jan 24, 2025
1 parent d91985c commit c34e847
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 75 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/deployfe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,6 @@
name: Deploy to Github Pages

on:
workflow_dispatch:
inputs:
maintenance:
description: 'This workflow can be used to enable maintenance mode on the logos app. Choose "enabled" to enable maintenance mode immediately, "delayed" to enable maintenance mode after 10 minutes or "disabled" to disable maintenance mode. Make sure to run this workflow on the production-api3-market branch to avoid any issues.'
required: true
default: 'disabled'
type: choice
options:
- enabled
- delayed
- disabled
schedule:
- cron: '0 8,12,16,20 * * *'
push:
Expand Down Expand Up @@ -71,8 +60,6 @@ jobs:
- name: Install Frontend Packages
if : github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'deploy')
run: pnpm install
- name: Check maintenance mode
run: ACTION=${{ inputs.maintenance }} pnpm maintenance
- name: Build Frontend
if : github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'deploy')
run: pnpm --filter "viewer" build
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"optimize-api-provider-logos": "rimraf ./optimized/api-provider & svgo -q -p 8 -f ./raw/api-providers -o ./optimized/api-provider",
"build": "pnpm run optimize-chain-logos && pnpm run optimize-symbol-logos && pnpm run optimize-api-provider-logos && node scripts/build-svg.js",
"fetch": "node scripts/fetch-missing.js",
"maintenance": "node scripts/toggle-mainteance-mode.js",
"version-check": "node scripts/version-check.js",
"package": "pnpm run build",
"lint": "pnpm run format:check && pnpm run lint:eslint",
Expand Down
61 changes: 0 additions & 61 deletions scripts/toggle-mainteance-mode.js

This file was deleted.

0 comments on commit c34e847

Please sign in to comment.