Use DEV_HOST for new file copy in 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 11:17:32 -07:00
parent 66c914f952
commit 875965a1ff

View File

@@ -29,6 +29,6 @@ jobs:
echo "Old files removed"
- name: Copy new dev pwa
run: |
scp -r ${{ gitea.workspace }}/www/* root@balerion.lan:/var/www/html/alvinn-dev
ssh root@balerion.lan "chown -R www-data:www-data /var/www/html/alvinn-dev/*"
scp -r ${{ gitea.workspace }}/www/* root@$DEV_HOST:/var/www/html/alvinn-dev
ssh root@$DEV_HOST "chown -R www-data:www-data /var/www/html/alvinn-dev/*"
echo "New files copied"