mirror of
https://github.com/1204244136/index-X.git
synced 2025-06-28 07:15:24 +08:00
Compare commits
5 Commits
auto
...
32bc49a38f
Author | SHA1 | Date | |
---|---|---|---|
32bc49a38f | |||
a6e3cd0911 | |||
213bbd35e5 | |||
39f4b262c3 | |||
f3f3617d1b |
7
.github/workflows/build-epub-release.yml
vendored
7
.github/workflows/build-epub-release.yml
vendored
@ -4,6 +4,9 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- 'EPUB/**'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
release-epubs:
|
||||
@ -23,7 +26,9 @@ jobs:
|
||||
shopt -s nullglob
|
||||
for dir in EPUB/*/ ; do
|
||||
name=$(basename "$dir")
|
||||
zip -r "output/epubs/${name}.epub" "$dir"
|
||||
(
|
||||
cd "$dir" && zip -r "../../output/epubs/${name}.epub" ./*
|
||||
)
|
||||
done
|
||||
|
||||
- name: Create merged ZIPs
|
||||
|
Reference in New Issue
Block a user