We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a35d99 commit 17f09a0Copy full SHA for 17f09a0
1 file changed
.github/workflows/deploy.yml
@@ -47,6 +47,7 @@ jobs:
47
- name: Deploy to alastor
48
env:
49
DEPLOY_KEY: ${{ secrets.WIT_CALENDAR_DEPLOY_KEY }}
50
+ SERVER_HOST: ${{ secrets.SERVER_HOST }}
51
IMAGE: ghcr.io/witcodingclub/calendar-backend:${{ github.sha }}
52
run: |
53
mkdir -p ~/.ssh
@@ -56,6 +57,6 @@ jobs:
56
57
ssh -i ~/.ssh/deploy_key \
58
-o StrictHostKeyChecking=no \
59
-o ConnectTimeout=10 \
- wit-calendar-deploy@alastor \
60
+ wit-calendar-deploy@"$SERVER_HOST" \
61
"echo '$IMAGE' > /var/lib/wit-calendar/image-ref && \
62
sudo systemctl restart wit-calendar-web"
0 commit comments