- 使用 PAYLOAD=$(cat <<ENDPAYLOAD) 替代 cat > file <<EOF - 确保环境变量在 heredoc 中正确展开 - 添加测试脚本验证环境变量展开 - 修复构建详情链接和消息内容缺失问题
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# ============================================
|
||||
# Novalon Website - 简化版CI/CD工作流(用于测试)
|
||||
# ============================================
|
||||
|
||||
variables:
|
||||
- &node_image node:20-alpine
|
||||
|
||||
steps:
|
||||
test:
|
||||
image: *node_image
|
||||
commands:
|
||||
- echo "CI is working!"
|
||||
- node --version
|
||||
- npm --version
|
||||
Reference in New Issue
Block a user