fix typo
Some checks failed
Deploy zones / Deploy-Zones (push) Failing after 10s

This commit is contained in:
Hannaeko 2023-05-28 12:49:48 +02:00
parent 83e67e3bbb
commit 5822933464

View file

@ -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