Skip to content

Commit

Permalink
change git and test TARGETDIR GH_TOKEN test targetdir path correct
Browse files Browse the repository at this point in the history
  • Loading branch information
sarvekshayr committed Aug 28, 2024
1 parent 69cfee1 commit 114bb0e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1,316 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,13 +235,12 @@ jobs:
- name: Copy MD file to ozone-site repository
if: env.hashes_differ == 'true'
run: |
TARGET_DIR=$(find ozone-site/docs -type d -name '*-administrative-guide' -exec find {} -type d -name '*-configuration' -print -quit \;)
TARGET_DIR=$(find ozone-site/docs -type d -name '*-administrator-guide' -exec find {} -type d -name '*-configuration' -print -quit \;)
echo "Target directory: $TARGET_DIR"
if [ -z "$TARGET_DIR" ]; then
echo "Target directory not found."
exit 1
fi
echo "Target directory: $TARGET_DIR"
cp hadoop-hdds/docs/content/tools/Configurations.md "$TARGET_DIR/configurations.md"
- name: Commit and push changes to apache/ozone-site
if: env.hashes_differ == 'true'
Expand Down
Loading

0 comments on commit 114bb0e

Please sign in to comment.