ensure .ssh dir exists

This commit is contained in:
John Bowdre 2024-02-27 19:11:43 -06:00
parent 34c957d72a
commit 6fedef7794

View file

@ -54,6 +54,7 @@ jobs:
tags: ${{ secrets.TS_TAG }}
- name: Deploy GMI to Agate
run: |
mkdir -p ~/.ssh
ssh-keyscan -H ${{ secrets.GMI_HOST }} >> ~/.ssh/known_hosts
rsync -avz --delete --exclude='*.html' --exclude='*.css' --exclude='*.js' -e ssh public/ ${{ secrets.GMI_HOST }}:${{ secrets.GMI_CONTENT_PATH }}