Skip to content

Commit 7736124

Browse files
committed
test-deploy 16
1 parent af508a4 commit 7736124

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/test-deployment.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ jobs:
3535
with:
3636
name: production-build
3737
- name: Upload prod build to server
38+
working-directory: ./scripts
3839
run: |
3940
pwd
4041
ls
41-
42+
./copy2site.sh

scripts/copy2site.sh

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
3+
ssh [email protected] rm -r /var/www/webface_test
4+
ssh [email protected] mkdir -p /var/www/webface_test

0 commit comments

Comments
 (0)