This commit is contained in:
parent
d98db6256d
commit
6b6b1107f7
|
@ -17,6 +17,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
. "$HOME/.cargo/env"
|
. "$HOME/.cargo/env"
|
||||||
trunk build --release --public-url "cool-stuff/plate-tool-beta/"
|
trunk build --release --public-url "cool-stuff/plate-tool-beta/"
|
||||||
- name: Transfer file to host server
|
- name: Transfer files to host server
|
||||||
run: |
|
run: |
|
||||||
sftp oracle <<< "put -r dist"
|
sftp oracle <<< "put -r dist"
|
||||||
|
- name: Deploy plate-tool-beta on host server
|
||||||
|
run: |
|
||||||
|
ssh oracle "sudo rm -rf /usr/share/nginx/html/plate-tool-beta/ && sudo mv dist /usr/share/nginx/html/plate-tool-beta"
|
||||||
|
|
Loading…
Reference in New Issue