CI fix tentative #21
This commit is contained in:
parent
4054aeef61
commit
4f09d1c7fb
1 changed files with 10 additions and 10 deletions
|
|
@ -90,16 +90,16 @@ jobs:
|
|||
fi
|
||||
|
||||
- name: Setup SSH
|
||||
env:
|
||||
SSH_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
TEST_VAL: ${{ secrets.TEST_VALUE }}
|
||||
run: |
|
||||
echo "Debugging YAML vars: ${{ secrets.TEST_VALUE }}"
|
||||
echo "Debugging ENV vars: $TEST_VAL"
|
||||
mkdir -p ~/.ssh
|
||||
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
ssh-keyscan -p ${{ secrets.SERVER_PORT }} -H ${{ secrets.SERVER_IP }} >> ~/.ssh/known_hosts
|
||||
uses: https://github.com/webfactory/ssh-agent@v0.9.0
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
# env:
|
||||
# SSH_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
# run: |
|
||||
# mkdir -p ~/.ssh
|
||||
# echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
|
||||
# chmod 600 ~/.ssh/id_ed25519
|
||||
# ssh-keyscan -p ${{ secrets.SERVER_PORT }} -H ${{ secrets.SERVER_IP }} >> ~/.ssh/known_hosts
|
||||
|
||||
- name: Download Artifact
|
||||
uses: actions/download-artifact@v3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue