Skip to content

Commit

Permalink
ci: use zstd for deploy payload
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-is-cute committed Sep 13, 2023
1 parent 6b6102b commit 8c61914
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
https://repo.heliosphere.app/latest.zip \
repo.json
tar -cvf payload.tar \
tar -I 'zstd -14' -cvf payload.tar.zst \
repo.json \
latest.zip
Expand All @@ -59,4 +59,4 @@ jobs:
echo "$DEPLOY_IP ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMA/feNbzGMzoVS1uKAQZKU6FaMt8LdIZYnUOgufuneZ" > "$HOME/.ssh/known_hosts"
chmod 0700 "$HOME/.ssh"
chmod 0600 "$HOME/.ssh/known_hosts" "$HOME/.ssh/id_ed25519"
ssh heliosphere@"$DEPLOY_IP" deploy plugin < payload.tar
ssh heliosphere@"$DEPLOY_IP" deploy plugin < payload.tar.zst

0 comments on commit 8c61914

Please sign in to comment.