Skip to content

Commit

Permalink
fixed issue with workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyBarnes committed Sep 26, 2023
1 parent 52f688d commit 415609f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/hugo-site-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ jobs:
with:
python-version: '3.11' # install the python version needed

- name: Export Alerts
run: ls -l

- name: Install Python Packages
run: |
python -m pip install --upgrade pip
Expand Down
4 changes: 4 additions & 0 deletions config/_default/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ enableRobotsTXT = true
source = 'services'
target = 'data'
includeFiles = ['**/alerts.yaml']
[[module.mounts]]
source = 'services'
target = 'static'
includeFiles = ['amba-alerts.*']

[markup]
[markup.goldmark.renderer]
Expand Down
2 changes: 1 addition & 1 deletion tooling/export-alerts/export-alerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def main():
data = readYamlData(args.path)

if len(args.output_xls) > 0:
exportToXls(data, args.template, args.output)
exportToXls(data, args.template, args.output_xls)

if len(args.output_json) > 0:
outputToJsonFile(data, args.output_json)
Expand Down

0 comments on commit 415609f

Please sign in to comment.