mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-22 06:52:18 +00:00
ensure .ssh dir exists
This commit is contained in:
parent
34c957d72a
commit
6fedef7794
1 changed files with 1 additions and 0 deletions
1
.github/workflows/deploy-to-prod.yml
vendored
1
.github/workflows/deploy-to-prod.yml
vendored
|
@ -54,6 +54,7 @@ jobs:
|
||||||
tags: ${{ secrets.TS_TAG }}
|
tags: ${{ secrets.TS_TAG }}
|
||||||
- name: Deploy GMI to Agate
|
- name: Deploy GMI to Agate
|
||||||
run: |
|
run: |
|
||||||
|
mkdir -p ~/.ssh
|
||||||
ssh-keyscan -H ${{ secrets.GMI_HOST }} >> ~/.ssh/known_hosts
|
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 }}
|
rsync -avz --delete --exclude='*.html' --exclude='*.css' --exclude='*.js' -e ssh public/ ${{ secrets.GMI_HOST }}:${{ secrets.GMI_CONTENT_PATH }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue