escape shell vars for gitea template engine

This commit is contained in:
2026-03-16 22:03:07 -04:00
parent 40a8a79ec4
commit e1ac1c0f23
+3 -3
View File
@@ -17,7 +17,7 @@ jobs:
- name: Login to Gitea Registry
env:
REGISTRY_TOKEN: $${{ secrets.CI_REGISTRY_TOKEN }}
run: echo "$REGISTRY_TOKEN" | docker login git.timothykim.net -u timothykim --password-stdin
run: echo "$$REGISTRY_TOKEN" | docker login git.timothykim.net -u timothykim --password-stdin
- name: Build and Push
uses: docker/build-push-action@v5
@@ -32,6 +32,6 @@ jobs:
DEPLOY_HOST: $${{ vars.DEPLOY_HOST }}
run: |
mkdir -p ~/.ssh
echo "$DEPLOY_SSH_KEY" > ~/.ssh/deploy_key
echo "$$DEPLOY_SSH_KEY" > ~/.ssh/deploy_key
chmod 600 ~/.ssh/deploy_key
ssh -o StrictHostKeyChecking=accept-new -i ~/.ssh/deploy_key deploy@"$DEPLOY_HOST" deploy-${REPO_NAME}
ssh -o StrictHostKeyChecking=accept-new -i ~/.ssh/deploy_key deploy@"$$DEPLOY_HOST" deploy-${REPO_NAME}