Skip to content

Commit

Permalink
disable pwa cache
Browse files Browse the repository at this point in the history
  • Loading branch information
892768447 committed Mar 1, 2024
1 parent 6d11cb9 commit 6f1af08
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/pages.yml
Expand Up @@ -27,10 +27,18 @@ jobs:
run: npm install
- name: Build
run: npm run build
- name: Deploy
- name: page deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force_orphan: true
publish_branch: master
publish_dir: ./public
- name: ssh deploy
uses: easingthemes/ssh-deploy@v5.0.3
with:
SSH_PRIVATE_KEY: ${{ secrets.REMOTE_PRIVATE_KEY }}
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
SOURCE: "public/*"
TARGET: ${{ secrets.REMOTE_TARGET }}
4 changes: 2 additions & 2 deletions _config.butterfly.yml
Expand Up @@ -915,8 +915,8 @@ lazyload:
# PWA
# See https://github.com/JLHwung/hexo-offline
# ---------------
# pwa:
# enable: false
pwa:
enable: false
# manifest: /pwa/manifest.json
# apple_touch_icon: /pwa/apple-touch-icon.png
# favicon_32_32: /pwa/32.png
Expand Down
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -28,7 +28,6 @@
"hexo-generator-sitemap": "^3.0.1",
"hexo-generator-tag": "^2.0.0",
"hexo-lazyload-image": "^1.0.13",
"hexo-offline": "^2.0.1",
"hexo-renderer-ejs": "^2.0.0",
"hexo-renderer-markdown-it": "^7.1.0",
"hexo-renderer-marked": "^6.1.1",
Expand Down

0 comments on commit 6f1af08

Please sign in to comment.