From 55cf75a3b64161c48089b7b69552d85067c7a95e Mon Sep 17 00:00:00 2001 From: Florian Meyer Date: Sat, 8 Jun 2024 19:23:41 +0200 Subject: [PATCH] Try local sed --- .github/workflows/static.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 5f312c0..51671e0 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -58,4 +58,7 @@ jobs: sudo chmod 600 ./private.key echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts - name: Update server resource pack hash - run: ssh -i ./private.key mc@flommc sed -i -e "s/\(resource-pack-sha1=\).*/\1${{ steps.hash.outputs.sha1 }}/g" oresia/server.properties + run: | + scp -i ./private.key mc@flommc:~/oresia/server.properties server.properties + sed -i -e 's/\(resource-pack-sha1=\).*/\1${{ steps.hash.outputs.sha1 }}/g' server.properties + scp -i ./private.key server.properties mc@flommc:~/oresia/server.properties