Skip to content

Commit 7438999

Browse files
committed
test-deploy 20
1 parent 4383eee commit 7438999

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test-deployment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branchs:
66
- test-deploy
77
env:
8-
env_var: ${{ vars.SERVER_IP }}
8+
SERVER_IP: ${{ vars.SERVER_IP }}
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest

scripts/copy2site.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
22

3-
echo $SERVER_IP
3+
echo "Server IP: $SERVER_IP"
44
# ssh [email protected] rm -r /var/www/webface_test
55
# ssh [email protected] mkdir -p /var/www/webface_test

0 commit comments

Comments
 (0)