Merge pull request #53 from pi-hole/fix/empty-secret-builds

Don't try to upload builds if the FTL secret is empty
This commit is contained in:
Mark Drobnak
2018-06-16 19:17:14 -04:00
committed by GitHub
+1
View File
@@ -29,6 +29,7 @@ jobs:
- run:
name: "Upload"
command: |
[ -z "$FTL_SECRET" ] && exit 0
tar -czvf pihole-web.tar.gz -C build .
wget https://ftl.pi-hole.net:8080/FTL-client
chmod +x ./FTL-client