Skip to content

Commit 4835470

Browse files
committed
test-deploy 25
1 parent 7fe1561 commit 4835470

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/test-deployment.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ jobs:
2727
path: dist
2828
deploy:
2929
runs-on: ubuntu-latest
30-
environment: fancyweb-ng
3130
env:
32-
SERVER_IP: ${{ vars.SERVER_IP }}
31+
SERVER_NAME: ${{ vars.SERVER_NAME }}
3332
needs: build
3433
steps:
3534
- uses: actions/checkout@v4
@@ -42,5 +41,5 @@ jobs:
4241
run: |
4342
pwd
4443
ls
45-
echo "$SERVER_IP"
44+
echo "$SERVER_NAME"
4645
./copy2site.sh

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: $SERVER_IP"
3+
echo "Server IP: $SERVER_NAME"
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)