File tree Expand file tree Collapse file tree 3 files changed +4899
-3878
lines changed
Expand file tree Collapse file tree 3 files changed +4899
-3878
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,15 @@ jobs:
2020 # # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121
2222 steps :
23- - uses : actions/checkout@v3
24- - name : Use Node.js 21.x
25- uses : pnpm/action- setup@v4
26- with :
27- version : 10
28- - run : sudo apt-get update && sudo apt-get install -y nasm autoconf automake libtool libpng-dev pkg-config build-essential
29- - run : pnpm i && npx hexo clean && npx hexo g --config _config-deploy.yml
30- - name : Deploy
31- uses : peaceiris/actions-gh-pages@v3
32- with :
33- github_token : ${{ secrets.GITHUB_TOKEN }}
34- publish_dir : ./public
23+ - uses : actions/checkout@v3
24+ - name : Use Node.js 21.x
25+ uses : actions/ setup-node@v3
26+ with :
27+ node- version : 21.x
28+ cache : ' npm '
29+ - run : npm i && npx hexo clean && npx hexo g --config _config-deploy.yml
30+ - name : Deploy
31+ uses : peaceiris/actions-gh-pages@v3
32+ with :
33+ github_token : ${{ secrets.GITHUB_TOKEN }}
34+ publish_dir : ./public
You can’t perform that action at this time.
0 commit comments