diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 5154b1f..8182821 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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