Skip to content

Commit

Permalink
More fixing of the deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
polypixeldev committed Jan 21, 2024
1 parent dccfd2a commit 811eb14
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ jobs:
run: |
echo "$SSH_PRIVATE_KEY" > .ssh_private_key
chmod 700 .ssh_private_key
mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts
ssh-keyscan mc-admin.hackclub.com >> ~/.ssh/known_hosts
eval $(ssh-agent)
ssh-add - <<< "$SSH_PRIVATE_KEY"
scp -i .ssh_private_key HCCore-Shadow-*.jar github-deploy@mc-admin.hackclub.com:/opt/minecraft/plugins/update
rm .ssh_private_key

0 comments on commit 811eb14

Please sign in to comment.