Add known_host to dev-build
Some checks failed
Build Dev PWA / Build-PWA (push) Failing after 31s

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
2024-06-09 10:54:34 -07:00
parent a00e622652
commit 66c914f952

View File

@@ -19,9 +19,12 @@ jobs:
env:
DEV_HOST: ${{ secrets.DEV_HOST }}
DEV_KEY: ${{ secrets.DEV_KEY }}
DEV_FP: ${{ secrets.DEV_FINGERPRINT }}
run: |
echo "$DEV_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
echo "$DEV_FP" > ~/.ssh/known_hosts
chmod 600 ~/.ssh/known_hosts
ssh root@$DEV_HOST "rm -R /var/www/html/alvinn-dev/*"
echo "Old files removed"
- name: Copy new dev pwa