mirror of
https://github.com/Coldsmiles/infstarweb.git
synced 2026-12-06 06:58:00 +08:00
feat: Enhance deployment workflow and improve stats processing with session management and artifact preparation
This commit is contained in:
1 parent
56230e8b22
commit
b094a10f06
2 files changed
+111
-64
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user