Scripts: fixes to deploy-hosted

This commit is contained in:
Pieter Vander Vennet 2025-03-17 02:04:40 +01:00
parent ecd8f5e1da
commit 75a0eeed83

View file

@ -52,8 +52,10 @@ jobs:
- name: Zipping dist file
run: |
mv dist /tmp/${{ github.ref_name }}
zip /tmp/${{ github.ref_name }}.zip -r /tmp/${{ github.ref_name }}/*
mv -f dist /tmp/${{ github.ref_name }}
cd /tmp
zip ${{ github.ref_name }}.zip -r ${{ github.ref_name }}/*
cd -
- name: uploading file
run: scp /tmp/${{ github.ref_name }}.zip hetzner:/root/staging/