Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user