Skip to content

Commit 43dfe57

Browse files
committed
Fix YAML indentation in Chrome Web Store secret handling
- Properly indent GitHub Actions secret expansion in heredoc - Resolve YAML syntax error around line 209-210 - Ensure secret is part of the script block - Enable successful workflow execution
1 parent fd270c6 commit 43dfe57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ jobs:
206206
# Use verified CRX private key from GitHub Secrets with fallback
207207
# Try to write the secret directly to file - if it doesn't exist, this will create an empty file
208208
cat > chrome-extension.pem << 'EOF'
209-
${{ secrets.CHROME_CRX_PRIVATE_KEY }}
210-
EOF
209+
${{ secrets.CHROME_CRX_PRIVATE_KEY }}
210+
EOF
211211
212212
# Check if the file has content (safer than checking the secret directly)
213213
if [[ ! -s chrome-extension.pem ]]; then

0 commit comments

Comments
 (0)