优化VIP文本解码功能,支持不同加密类型并修复相关引用 #262
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
name: Build and Deploy | |
on: | |
push: | |
paths-ignore: | |
- README.md | |
- license.txt | |
- third-party-license.txt | |
- test/* | |
- tools/* | |
branches-ignore: | |
- gh-pages | |
- "dependabot/**" | |
pull_request: | |
paths-ignore: | |
- README.md | |
- license.txt | |
branches-ignore: | |
- gh-pages | |
workflow_dispatch: | |
permissions: | |
contents: write | |
#pull-requests: write | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Init 🛎️ | |
uses: 404-novel-project/novel-downloader-action@v1 | |
- name: Build 🔧 | |
run: yarn run github | |
- name: Upload Artifact 🚀 | |
id: upload-artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: bundle | |
path: dist/bundle*.js | |
# - name: comment PR 📝 | |
# uses: thollander/actions-comment-pull-request@v3 | |
# if: ${{github.event_name == 'pull_request'}} | |
# with: | |
# message: | | |
# 我们已经收到您的PR,您可以在这里访问对应的脚本文件。 | |
# ${{ steps.upload-artifacts.outputs.artifact-url }} | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
if: ${{ github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') }} | |
with: | |
branch: gh-pages | |
folder: dist |