use vars.DEPLOY_HOST instead of secrets since hostname is not sensitive

This commit is contained in:
timothykim committed 2026-03-15 21:49:29 -04:00
1 parent 5dd2343d4a
commit b96e94afa6
4 files changed
+8 -5

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ jobs:
mkdir -p ~/.ssh
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/deploy_key
chmod 600 ~/.ssh/deploy_key
ssh -o StrictHostKeyChecking=accept-new -i ~/.ssh/deploy_key deploy@${{ secrets.DEPLOY_HOST }} deploy-APP_PLACEHOLDER
ssh -o StrictHostKeyChecking=accept-new -i ~/.ssh/deploy_key deploy@${{ vars.DEPLOY_HOST }} deploy-APP_PLACEHOLDER
OUTER
sed -i "s/APP_PLACEHOLDER/$APP/g" "$REPO_ROOT/.gitea/workflows/deploy-$APP.yml"