CI: only run deploy if build actually finished

This commit is contained in:
SukkaW
2025-01-07 22:36:43 +08:00
parent 317d914086
commit e43ba55357
3 changed files with 16 additions and 0 deletions

View File

@@ -68,6 +68,10 @@ jobs:
echo "public directory is empty"
exit 1
fi
if [ ! -f .BUILD_FINISHED ]; then
echo ".BUILD_FINISHED not found"
exit 1
fi
- uses: actions/upload-artifact@v4
with:
name: build-artifact-${{ github. ref_name }}