Skip to content

Commit

Permalink
ci: remove blob component from repository paths in CI workflow (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanouil authored Nov 11, 2024
1 parent 38b544e commit f4a9dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/quarto-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
git -C _quarto-web checkout main --quiet
find _quarto-web/docs/extensions/listings -type f -name "*.yml" ! -name "_*" \
-exec grep -o 'path: https://github.com/.*' {} \; \
| sed 's/path: https:\/\/github.com\///' > _quarto-web/quarto-web-extensions.csv
| sed 's/path: https:\/\/github.com\///' | sed 's/blob\/[^/]*\///' > _quarto-web/quarto-web-extensions.csv
cat "${CSV_FILE}" | cut -d'/' -f1,2 > _quarto-web/quarto-extensions.csv
extensions_to_add=$(grep -Fvxi -f _quarto-web/quarto-extensions.csv _quarto-web/quarto-web-extensions.csv || true)
rm -rf _quarto-web
Expand Down

0 comments on commit f4a9dea

Please sign in to comment.