This commit is contained in:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
|||||||
- name: Deploy website
|
- name: Deploy website
|
||||||
run: |
|
run: |
|
||||||
MACHINE_IP="$(tailscale ip -6 $MACHINE)"
|
MACHINE_IP="$(tailscale ip -6 $MACHINE)"
|
||||||
ssh -i ~/.ssh/key kenneth@MACHINE_IP <<EOF
|
ssh -i ~/.ssh/key "kenneth@$MACHINE_IP" <<EOF
|
||||||
cd /opt/website
|
cd /opt/website
|
||||||
git pull
|
git pull
|
||||||
docker build -t website .
|
docker build -t website .
|
||||||
|
Reference in New Issue
Block a user