Skip to content

Commit

Permalink
Try local sed
Browse files Browse the repository at this point in the history
  • Loading branch information
Olfi01 authored Jun 8, 2024
1 parent 04d8094 commit 55cf75a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 55cf75a

Please sign in to comment.