Skip to content

Commit

Permalink
change action name
Browse files Browse the repository at this point in the history
fix http code-check
  • Loading branch information
Strosel committed Aug 20, 2020
1 parent 6173c67 commit d1757b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: A workflow to build wasm for github pages
name: Update github pages wasm
on:
push:
tags:
Expand Down
2 changes: 1 addition & 1 deletion wasm-action/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if [ "$?" -ne 0 ]; then
exit 1
fi

if [ $RES -ne 200 ]; then
if [ $RES -ge 200 ] && [ $RES -le 299 ]; then
echo "HTTP error ${RES}"
cat $tmp
exit 1
Expand Down

0 comments on commit d1757b1

Please sign in to comment.