File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 3939
4040 while [ \$RETRY_COUNT -lt \$MAX_RETRIES ]; do
4141 if git pull origin main; then
42- break # pull succesful exit
42+ echo "Git pull successful, proceeding with Docker commands."
43+ docker stop blog || true
44+ docker rm blog || true
45+ docker rmi nextjs || true
46+ docker build -t nextjs .
47+ docker-compose up -d
48+ break # pull successful exit
4349 else
4450 echo "Git pull failed, retrying (\$((RETRY_COUNT + 1)) of \$MAX_RETRIES)..."
4551 ((RETRY_COUNT++))
Original file line number Diff line number Diff line change 11import { MH1 } from '~/components/markdown/m-typography' ;
22
33export default function Home ( ) {
4- return < MH1 className = "my-8" > Home: 页面建设中...</ MH1 > ;
4+ return < MH1 className = "my-8 text-red-400 " > Home: 页面建设中...</ MH1 > ;
55}
You can’t perform that action at this time.
0 commit comments