This commit is contained in:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -33,7 +33,7 @@ jobs:
|
|||||||
- name: Deploy website
|
- name: Deploy website
|
||||||
run: |
|
run: |
|
||||||
MACHINE_IP="$(tailscale ip -4 $MACHINE)"
|
MACHINE_IP="$(tailscale ip -4 $MACHINE)"
|
||||||
ssh -i ~/.ssh/key "kenneth@$MACHINE_IP" <<EOF
|
ssh -i ~/.ssh/key "kenneth@$MACHINE_IP" /bin/bash << 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