Added wiki generator
This commit is contained in:
@@ -35,12 +35,25 @@ jobs:
|
||||
|
||||
- name: Generate Terraform Output
|
||||
run: |
|
||||
echo "🔍 Generating Terraform output..."
|
||||
terraform output -json > terraform-output.json
|
||||
|
||||
# Debug output file
|
||||
echo "📄 Output file size: $(wc -c < terraform-output.json) bytes"
|
||||
echo "🔍 First 200 chars of output:"
|
||||
head -c 200 terraform-output.json
|
||||
echo ""
|
||||
echo "✅ Terraform output generated"
|
||||
|
||||
- name: Generate Wiki Content
|
||||
run: |
|
||||
cat terraform-output.json
|
||||
echo "🔍 Checking output file..."
|
||||
if [ ! -f "terraform-output.json" ]; then
|
||||
echo "❌ terraform-output.json not found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "📊 Running wiki generation script..."
|
||||
python3 ../../.gitea/scripts/generate-apps-wiki.py terraform-output.json
|
||||
echo "✅ Wiki content generated"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user