GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — itsfated.github.io/deploy.sh at main · ItsFated/itsfated.github.io

Expand file tree

/

deploy.sh

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
executable file
·
20 lines (20 loc) · 811 Bytes
/

deploy.sh

Copy path

File metadata and controls

executable file
·
20 lines (20 loc) · 811 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
set -e
docker compose -f compose.yaml down
mkdir -p ./{data,logs}
echo 以下环境变量请先设置到Bash中,再执行本脚本
echo BASH_VAR_APPID: $BASH_VAR_APPID
echo BASH_VAR_APPKEY: $BASH_VAR_APPKEY
echo BASH_VAR_REPOID: $BASH_VAR_REPOID
echo BASH_VAR_CATEGORY_ID: $BASH_VAR_CATEGORY_ID
echo BASH_VAR_CUSTOM_TEXT: $BASH_VAR_CUSTOM_TEXT
if [ -z "$BASH_VAR_APPID" ] || [ -z "$BASH_VAR_APPKEY" ] || \
[ -z "$BASH_VAR_REPOID" ] || [ -z "$BASH_VAR_CATEGORY_ID" ] || \
[ -z "$BASH_VAR_CUSTOM_TEXT" ]; then
echo 请先设置环境变量
exit 1
fi
npm install
./prepare.sh itsfated.top "$BASH_VAR_APPID" "$BASH_VAR_APPKEY" "$BASH_VAR_REPOID" "$BASH_VAR_CATEGORY_ID" "$BASH_VAR_CUSTOM_TEXT" no_comments
npm run build
git checkout _config.butterfly.yml _config.yml
docker compose -f compose.yaml up -d
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.