mirror of
https://github.com/woodchen-ink/random-api-go.git
synced 2025-07-18 13:52:02 +08:00
chore: ignore lankong_tools and md files in docker workflow, update mapping file path in generate_csv.go
This commit is contained in:
parent
7aba71cb83
commit
c6e081a2db
3
.github/workflows/docker.yml
vendored
3
.github/workflows/docker.yml
vendored
@ -6,6 +6,9 @@ on:
|
|||||||
- main
|
- main
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
|
paths-ignore:
|
||||||
|
- 'lankong_tools/**'
|
||||||
|
- '*.md'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: random-api-go
|
IMAGE_NAME: random-api-go
|
||||||
|
@ -39,7 +39,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 读取相册映射配置
|
// 读取相册映射配置
|
||||||
mappingFile, err := os.ReadFile("./album_mapping.json")
|
mappingFile, err := os.ReadFile("lankong_tools/album_mapping.json")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(fmt.Sprintf("Failed to read album mapping: %v", err))
|
panic(fmt.Sprintf("Failed to read album mapping: %v", err))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user