diff --git a/docs/index.md b/docs/index.md index 6c63132..15efad4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,9 +3,9 @@ layout: home hero: - name: "My Awesome Project" - text: "A VitePress Site" - tagline: My great project tagline + name: "阿帅正传" + text: "一个安静的文档站" + tagline: Timeless小帅's Blog actions: - theme: brand text: Markdown Examples diff --git a/run_prod.sh b/run_prod.sh index 25f937c..ae560c9 100644 --- a/run_prod.sh +++ b/run_prod.sh @@ -4,6 +4,6 @@ echo "npm install" npm install echo "run docs:build" npm run docs:build - +chown -R www:www ./ ps -ef | grep "npm run docs:preview" | grep -v grep | awk '{print $2}' | xargs kill -9 -npm run docs:preview & \ No newline at end of file +sudo -u www "npm run docs:preview &" \ No newline at end of file