We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4a0470 commit a8a5a16Copy full SHA for a8a5a16
1 file changed
.github/workflows/deploy-action.yml
@@ -29,4 +29,8 @@ jobs:
29
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
30
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
31
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
32
- - run: ssh -i ${{ secrets.SSH_PRIVATE_KEY }} debian@shift.python.software.fr "cd /home/debian && git pull origin main && ./install.sh"
+ - run: |
33
+ mkdir -p ~/.ssh
34
+ echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
35
+ chmod 600 ~/.ssh/id_rsa
36
+ ssh -i ~/.ssh/id_rsa debian@shift.python.software.fr "cd /home/debian && git pull origin main && ./install.sh"
0 commit comments