Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jaylevin committed Sep 21, 2023
1 parent aaf745a commit 86e7185
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,22 +123,13 @@ jobs:
- name: debug
run: |
tree .work || true
cat .work/confluentinc/confluent/docs/resources/confluent_ksql_cluster.md
- name: pre-process-docs
run: |
cat .work/confluentinc/confluent/docs/resources/confluent_ksql_cluster.md
file_contents=$(cat .work/confluentinc/confluent/docs/resources/confluent_ksql_cluster.md)
broken_doc_file=".work/confluentinc/confluent/docs/resources/confluent_ksql_cluster.md"
file_contents=$(cat $broken_doc_file)
echo $file_contents | grep "page_title"
page_title_exists=$?
if [[ $page_title_exists -neq "0" ]]; then
echo '---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "confluent_ksql_cluster Resource - terraform-provider-confluent"
subcategory: ""
description: |-
---' | cat - .work/confluentinc/confluent/docs/resources/confluent_ksql_cluster.md > temp && mv temp .work/confluentinc/confluent/docs/resources/confluent_ksql_cluster.md
endif
- name: Check Diff
run: make check-diff
Expand Down

0 comments on commit 86e7185

Please sign in to comment.