欢迎来到电子书下载宝库,一个汇聚了各类电子书下载链接的地方。无论你是喜欢阅读经典文学、经管励志、终身学习、职场创业、技术手册还是其他类型的书籍,这里都能满足你的需求。 该库涵盖了帆书app(原樊登读书)、微信读书、京东读书、喜马拉雅等读书app的大部分电子书。
Python
Add GitHub Actions workflow to generate site
小坏猪猪69cf153a749f
diff --git a/.github/workflows/generate-site.yml b/.github/workflows/generate-site.ymlnew file mode 100644index 0000000..acbdc09--- /dev/null+++ b/.github/workflows/generate-site.yml@@ -0,0 +1,30 @@+name: Generate Site++on:+ push:+ branches:+ - main+ workflow_dispatch:++permissions:+ contents: write++jobs:+ build:+ runs-on: ubuntu-latest++ steps:+ - uses: actions/checkout@v4++ - uses: actions/setup-python@v5+ with:+ python-version: '3.11'++ - run: python scripts/generate_index.py++ - run: |+ git config user.name "github-actions"+ git config user.email "[email protected]"+ git add docs/+ git commit -m "auto-generate site" || echo "no changes"+ git push