This commit is contained in:
parent
83e67e3bbb
commit
5822933464
1 changed files with 4 additions and 4 deletions
|
@ -23,11 +23,11 @@ jobs:
|
|||
ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}"
|
||||
mkdir -p $HOME/.ssh
|
||||
chmod 700 $HOME/.ssh
|
||||
echo "${{ secret.SSH_KNOWN_HOSTS }}" >> $HOME/.ssh/known_hosts
|
||||
echo "${{ secret.SSH_CONFIG }}" >> $HOME/.ssh/config
|
||||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" >> $HOME/.ssh/known_hosts
|
||||
echo "${{ secrets.SSH_CONFIG }}" >> $HOME/.ssh/config
|
||||
chmod 644 $HOME/.ssh/{known_hosts,config}
|
||||
echo "SSH_AUTH_SOCK=${SSH_AUTH_SOCK}" >> $GITHUB_ENV
|
||||
- name: Deploy zones
|
||||
run: |
|
||||
scp -r zones catalog-zones ${{ secret.SSH_PRIMARY_NS }}:/var/lib/knot/
|
||||
ssh ${{ secret.SSH_PRIMARY_NS }} /usr/sbin/knotc reload
|
||||
scp -r zones catalog-zones ${{ secrets.SSH_PRIMARY_NS }}:/var/lib/knot/
|
||||
ssh ${{ secrets.SSH_PRIMARY_NS }} /usr/sbin/knotc reload
|
||||
|
|
Loading…
Reference in a new issue