Skip to content

Commit

Permalink
update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgordonbell committed Jan 10, 2024
1 parent bbc07dd commit f30860b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/summarize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
poetry run python util/psupport/psupport/scripts/topcta.py --dir ./blog/_posts
git restore ./blog/_posts/2029-01-01-checklist.md
npm install -g markdownlint-cli
npm install -g markdownlint-cli@0.32.0
markdownlint --fix "./blog/_posts/*.md" || true
env:
Expand Down
7 changes: 7 additions & 0 deletions util/functions
Original file line number Diff line number Diff line change
Expand Up @@ -343,3 +343,10 @@ lint-frontmatter(){ # Use when you are getting a weird error about frontmatter o
# pip install --user yamllint
frontmatter | yamllint -c ./util/yamlconfig.yaml -
}

## CTA Changes

cta_top() { # Change CTA Top
poetry run python util/psupport/psupport/scripts/excerpt.py --file "$(post)"
poetry run python util/psupport/psupport/scripts/topcta.py --file "$(post)"
}

0 comments on commit f30860b

Please sign in to comment.