From 0679a009a120689d3facd7397f254e4ec8a62d71 Mon Sep 17 00:00:00 2001 From: Frithjof Winkelmann Date: Mon, 30 Sep 2024 15:30:02 +0200 Subject: [PATCH] Fix deploy script --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2264004..64ae677 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,4 +51,4 @@ jobs: run: ssh prod 'docker stop hoff97hikeandfly && docker rm hoff97hikeandfly && docker image rm hoff97/hikeandfly' - name: Start the server - run: ssh prod 'docker pull hoff97/hikeandfly:latest && docker run -d --restart always --name hoff97hikeandfly -p 8080:8080 hoff97/hikeandfly:latest' + run: ssh prod 'docker pull hoff97/hikeandfly:latest && docker run -d --restart always --name hoff97hikeandfly -v /root/data:/app/data -p 8080:8080 hoff97/hikeandfly:latest'