Skip to content

Commit

Permalink
feat: support auto build gh pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Yazawazi committed May 23, 2024
1 parent 382dc8b commit 752c5c7
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Deploy to GitHub Pages

on:
pull_request:
branches: [main]
push:
branches: [main]

permissions:
contents: write

jobs:
deploy:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'pnpm'
- uses: webfactory/ssh-agent@v0.5.0
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
- name: deploy
env:
USE_SSH: true
run: |
git config --global user.email "actions@github.com"
git config --global user.name "gh-actions"
pnpm install
pnpm run deploy
2 changes: 1 addition & 1 deletion docs/离开的人们2/精神病十种/麻理.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sidebar_position: 9

## 强制性思维

**强制性思维**(英文:Forced Thinking,武陵人汉化组:自生思考,日语:自生思考,思考即迫),精神分裂症(日语:統合失調症,环大陆地区:思觉失调症)的一种症状。表现为自发的想法(杂乱无章的想法一个接一个地出现,它们变得杂乱无章。 想法自然而然产生。联想相互关联)、自体视觉(清晰的视觉图像自发地浮现在脑海中)、自体记忆回忆(被遗忘的琐碎经历被一个接一个地回忆起来)、自体内在言语(脑海中经常浮现出清晰的话语)等,使人感到「无法集中注意力」和「不安」。[^1]
**强制性思维**(英文:Forced Thinking,武陵人汉化组:自生思考,日语:自生思考,思考即迫),精神分裂症(日语:統合失調症,环大陆地区:思觉失调症)的一种症状。表现为自发的想法(杂乱无章的想法一个接一个地出现,它们变得杂乱无章。想法自然而然产生。联想相互关联)、自体视觉(清晰的视觉图像自发地浮现在脑海中)、自体记忆回忆(被遗忘的琐碎经历被一个接一个地回忆起来)、自体内在言语(脑海中经常浮现出清晰的话语)等,使人感到「无法集中注意力」和「不安」。[^1]

---

Expand Down

0 comments on commit 752c5c7

Please sign in to comment.