mirror of
https://github.com/layer-systems/relay.git
synced 2026-06-04 01:21:22 +02:00
fix: comment out known_hosts step in deploy workflow
This commit is contained in:
14
.github/workflows/deploy.yml
vendored
14
.github/workflows/deploy.yml
vendored
@@ -22,13 +22,13 @@ jobs:
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.VPS_SSH_KEY }}
|
||||
|
||||
- name: Add known_hosts (recommended)
|
||||
if: ${{ secrets.VPS_KNOWN_HOSTS != '' }}
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
chmod 700 ~/.ssh
|
||||
echo "${{ secrets.VPS_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts
|
||||
chmod 644 ~/.ssh/known_hosts
|
||||
# - name: Add known_hosts (recommended)
|
||||
# if: ${{ secrets.VPS_KNOWN_HOSTS != '' }}
|
||||
# run: |
|
||||
# mkdir -p ~/.ssh
|
||||
# chmod 700 ~/.ssh
|
||||
# echo "${{ secrets.VPS_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts
|
||||
# chmod 644 ~/.ssh/known_hosts
|
||||
|
||||
- name: Deploy via SSH
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user