fix: ci — remove empty ${{ }} expression from deploy.yml comment (YAML parse failure)

This commit is contained in:
peptiderepo
2026-04-26 05:27:04 +00:00
parent e4bf5faf5b
commit 3625c25655

View File

@@ -90,7 +90,7 @@ jobs:
ssh-keyscan -p ${{ secrets.SSH_PORT }} ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts 2>/dev/null || true
- name: Verify deploy destination is a theme directory
run: |
# Path verified inline below using ${{ }} runner expansion
# Path is inlined below; runner expands secrets before passing to SSH
ssh -i ~/.ssh/deploy_key -p ${{ secrets.SSH_PORT }} -o StrictHostKeyChecking=accept-new \
${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }} \
"test -f '/home/${{ secrets.SSH_USERNAME }}/domains/peptiderepo.com/public_html/wp-content/themes/peptide-starter/style.css' || { echo 'ERROR: style.css not found at theme path — aborting deploy'; exit 1; }"