diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 6a44cb8..68af27c 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -35,7 +35,10 @@ jobs: key: ${{ secrets.SSH_PRIVATE_KEY }} port: 22 script: | - sudo docker rmi $(docker images -f "dangling=true" -q) || true + dangling_images=$(sudo docker images -f "dangling=true" -q) + if [ -n "$dangling_images" ]; then + sudo docker rmi $dangling_images || true + fi sudo docker container prune -f diff --git a/src/App.jsx b/src/App.jsx index 70903c7..4e75b20 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,7 +1,7 @@ import React from "react"; const App = () => { - return
Hello From Panic Button 112! 🚨
; + return
Hello Panic Button 112! 🚨
; }; export default App;