mirror of https://github.com/Nofated095/blog
Merge branch 'master' of https://github.com/Nofated095/blog
This commit is contained in:
commit
3e68df4fd4
|
@ -0,0 +1,25 @@
|
|||
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
|
||||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
|
||||
|
||||
name: Build CI
|
||||
|
||||
on: workflow_dispatch
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16.x]
|
||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: npm install
|
||||
- run: npm run build
|
|
@ -342,8 +342,9 @@ plugins:
|
|||
# https://ppoffice.github.io/hexo-theme-icarus/Configuration/Theme/speed-up-your-site-with-custom-cdn/
|
||||
providers:
|
||||
# Name or URL template of the JavaScript and/or stylesheet CDN provider
|
||||
cdn: '[cdnjs]https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/${package}/${version}/${filename}'
|
||||
# cdn: '[cdnjs]https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/${package}/${version}/${filename}'
|
||||
cdn: '[cdnjs] https://cdn.staticfile.org/${package}/${version}/${filename}'
|
||||
# Name or URL template of the webfont CDN provider
|
||||
fontcdn: 'https://fonts.sourcegcdn.com/${type}?family=${fontname}'
|
||||
fontcdn: 'https://fonts.sourcegcdn.com/${type}?family=${fontname}&display=swap'
|
||||
# Name or URL of the fontawesome icon font CDN provider
|
||||
iconcdn: 'https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/font-awesome/6.0.0/css/all.css'
|
||||
|
|
|
@ -103,7 +103,10 @@ feed:
|
|||
type: atom
|
||||
path: atom.xml
|
||||
limit: 20
|
||||
theme: icarus
|
||||
lazyload:
|
||||
enable: false
|
||||
isSPA: false
|
||||
theme: amane
|
||||
|
||||
aplayer:
|
||||
meting: true
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"dependencies": {
|
||||
"bulma-stylus": "0.8.0",
|
||||
"hexo": "^6.2.0",
|
||||
"hexo-component-inferno": "1.2.0",
|
||||
"hexo-component-inferno": "^2.0.2",
|
||||
"hexo-deployer-git": "^4.0.0",
|
||||
"hexo-generator-archive": "^2.0.0",
|
||||
"hexo-generator-category": "^2.0.0",
|
||||
|
@ -28,8 +28,9 @@
|
|||
"hexo-renderer-stylus": "^2.0.0",
|
||||
"hexo-server": "^3.0.0",
|
||||
"hexo-tag-aplayer": "^3.0.4",
|
||||
"hexo-theme-icarus": "5.0.1",
|
||||
"hexo-lazyload-image": "^1.0.13",
|
||||
"hexo-theme-amane": "0.0.3",
|
||||
"inferno": "^8.0.1",
|
||||
"inferno-create-element": "^8.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue