mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
fix(ci): update indexers workflow with improved path handling (#1874)
* fix(ci): update indexers workflow with improved path handling
This commit is contained in:
parent
81ce8acb2b
commit
66fa645625
2 changed files with 49 additions and 14 deletions
|
@ -5,9 +5,9 @@ import re
|
|||
from typing import Dict
|
||||
|
||||
# Paths relative to GitHub Actions workspace
|
||||
DEFINITIONS_DIR = "autobrr/internal/indexer/definitions"
|
||||
INDEXERS_OUTPUT = "autobrr.com/snippets/indexers.mdx"
|
||||
FREELEECH_OUTPUT = "autobrr.com/snippets/freeleech.mdx"
|
||||
DEFINITIONS_DIR = "../autobrr/internal/indexer/definitions"
|
||||
INDEXERS_OUTPUT = "../autobrr.com/snippets/indexers.mdx"
|
||||
FREELEECH_OUTPUT = "../autobrr.com/snippets/freeleech.mdx"
|
||||
|
||||
def parse_yaml_file(file_path: str) -> Dict:
|
||||
"""Parse YAML files"""
|
||||
|
@ -105,4 +105,4 @@ def main():
|
|||
f.write(content)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue