feat: Enhance deployment workflow and improve stats processing with session management and artifact preparation

This commit is contained in:
zhangyuheng
2026-03-10 10:31:51 +08:00
parent 56230e8b22
commit b094a10f06
2 changed files with 111 additions and 64 deletions

View File

@@ -38,10 +38,20 @@ jobs:
STATS_PASS: ${{ secrets.STATS_PASS }}
run: python statsprocess.py
- name: Prepare Pages artifact
run: |
mkdir -p _site
rsync -a --delete \
--exclude '.git/' \
--exclude '.github/' \
--exclude 'README.md' \
--exclude 'statsprocess.py' \
./ ./_site/
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: .
path: ./_site
deploy:
needs: build