mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
CI: only run deploy if build actually finished
This commit is contained in:
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user