This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 当有改动推送到main分支时,启动Action | |
name: Auto Deploy | |
on: | |
push: | |
branches: | |
- main #2020年10月后github新建仓库默认分支改为main,注意更改 | |
paths-ignore: # 以下文件的变更不触发部署 | |
- README.md | |
workflow_dispatch: # 手动触发部署,可以从工作流界面中手动触发 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: node:18.15.0 | |
cache: | |
paths: | |
- node_modules/ | |
before_script: | |
- npm install hexo-cli -g | |
- test -e package.json && npm install | |
- hexo generate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQINBGb2z/4BEADbPHwlbw86m8uK6yRv7cCS7womPPhWM+2940AW2SDZRzvIz1vc | |
F+dSV/T3anwn65T6mYQnHgWRFd1tGdSvxTh91qZVDdIlW41xTF4qIfyLAfqTjmHy | |
1X525Y4AE7Ao58veEWRwZ7HXCg/57bvrp3WgqSc3mhykPU/MdQbjKV/Bsbh+W6Z4 | |
/cGr3sQ6SwhM8sZVh7GocFXVVnLw2xmgI+R/C49kmlA8yOU6BcYyNlrF2AUkv5h0 | |
46FjjuvXF09CImDMl8oHztVSAfBB9UrixOUgYqpqk9GuUqoCAl7EwWp6P8/slVyM | |
OKCs9rw1lkai7DURANgYDRMWekS6dFVhWKoGueJGVBVaknXdTwGB1BAPw6As5t86 | |
6NusW7tgljnudmcm/PLLQpYeoK66ZXdXFbiXRPAA6ln76JJvV0cb7rf7hI3LJsz5 | |
jeiw+4emQTKqRkMOpWnkaenbCOPuTsDd8bipg0bzUjaZYMv0aphxllSwRNN9EwtI |