Scripts: fixes to deploy-hosted
This commit is contained in:
parent
ecd8f5e1da
commit
75a0eeed83
1 changed files with 4 additions and 2 deletions
|
@ -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/
|
||||
|
|
Loading…
Add table
Reference in a new issue