mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
fix: allow CI to run when PDFs haven't been generated (#12669)
This commit is contained in:
parent
6789ec99a8
commit
b9941d2ecf
1 changed files with 3 additions and 0 deletions
|
@ -49,12 +49,15 @@ function upload_assets {
|
|||
git push -q
|
||||
echo "Assets (pages archive, index and checksums) deployed to the static site."
|
||||
|
||||
# Suppress errors from unmatched patterns if some files don't exist.
|
||||
shopt -s nullglob
|
||||
gh release --repo tldr-pages/tldr upload --clobber "$RELEASE_TAG" -- \
|
||||
tldr.sha256sums \
|
||||
"$TLDR_ARCHIVE" \
|
||||
"$INDEX" \
|
||||
"$LANG_ARCHIVES/"*.zip \
|
||||
"$PDFS/"*.pdf
|
||||
shopt -u nullglob
|
||||
echo "Assets deployed to GitHub releases."
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue