Skip to content

Commit

Permalink
Fix SSH key permissions for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
polypixeldev authored Jan 21, 2024
1 parent 628896b commit dccfd2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ jobs:
SSH_PRIVATE_KEY: ${{ secrets.MINECRAFT_DEPLOY_SSH_KEY }}
run: |
echo "$SSH_PRIVATE_KEY" > .ssh_private_key
chmod 700 .ssh_private_key
scp -i .ssh_private_key HCCore-Shadow-*.jar [email protected]:/opt/minecraft/plugins/update
rm .ssh_private_key

0 comments on commit dccfd2a

Please sign in to comment.