Skip to content

Commit

Permalink
another go
Browse files Browse the repository at this point in the history
  • Loading branch information
Rein-Vanbelleghem committed Mar 15, 2024
1 parent 9f28148 commit fe8d481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion add_additional_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def merge_site_into_index(charts_dir, index_file_path):
if __name__ == "__main__":
# Retrieve the paths from environment variables or script arguments
charts_dir = os.getenv('CHARTS_DIR', sys.argv[1] if len(sys.argv) > 1 else './charts')
index_file_path = os.getenv('INDEX_FILE', sys.argv[2] if len(sys.argv) > 2 else './gh-pages/index.yaml')
index_file_path = os.getenv('SITE_FILE', sys.argv[2] if len(sys.argv) > 2 else './gh-pages/site.yaml')

# Execute the merge function
merge_site_into_index(charts_dir, index_file_path)

0 comments on commit fe8d481

Please sign in to comment.