Skip to content

Commit 075a23f

Browse files
committed
fix fallback by grouping commands
1 parent 2844d30 commit 075a23f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/mdbook-github-pages.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,10 @@ jobs:
7373
mv -v "freeplane-${version}/doc/api" gh-pages/ &&
7474
echo "$latest_stable_release_tag" > gh-pages/api/_tag.txt &&
7575
cd gh-pages &&
76-
zip -r api.zip api/ ||
77-
echo "Something went wrong - fall back to the last-successfully-downloaded-from-SF api docs" &&
78-
download_and_unpack_api_zip
76+
zip -r api.zip api/ || {
77+
echo "Something went wrong - fall back to the last-successfully-downloaded-from-SF api docs" &&
78+
download_and_unpack_api_zip
79+
}
7980
fi
8081
8182
- name: Upload artifact

0 commit comments

Comments
 (0)