chore: ignore lankong_tools and md files in docker workflow, update mapping file path in generate_csv.go

This commit is contained in:
wood chen 2024-10-27 11:35:41 +08:00
parent 7aba71cb83
commit c6e081a2db
2 changed files with 4 additions and 1 deletions

View File

@ -6,6 +6,9 @@ on:
- main
tags:
- v*
paths-ignore:
- 'lankong_tools/**'
- '*.md'
env:
IMAGE_NAME: random-api-go

View File

@ -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 {
panic(fmt.Sprintf("Failed to read album mapping: %v", err))
}