We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46e99c9 commit 0de3504Copy full SHA for 0de3504
1 file changed
.github/workflows/deploy.yml
@@ -25,3 +25,11 @@ jobs:
25
remote_path: ${{ secrets.DEPLOY_PATH }}
26
remote_user: ${{ secrets.DEPLOY_USER }}
27
remote_key: ${{ secrets.DEPLOY_KEY }}
28
+ - name: add key to ssh agent
29
+ uses: webfactory/ssh-agent@v0.9.0
30
+ with:
31
+ ssh-private-key: ${{ secrets.DEPLOY_KEY }}
32
+ - name: reload stats
33
+ run: |
34
+ ssh-keyscan -t rsa host.terrashift.net >> ~/.ssh/known_hosts
35
+ ssh ${{ secrets.SSH_USER }}@host.terrashift.net "java -jar ${{ secrets.DEPLOY_PATH }}/MinecraftStatsCLI.jar ${{ secrets.DEPLOY_PATH }}/config.json"
0 commit comments