Skip to content

Commit

Permalink
Merge pull request #9 from sarvekshayr/test-branch-2
Browse files Browse the repository at this point in the history
Test branch 2
  • Loading branch information
sarvekshayr authored Aug 22, 2024
2 parents 1d2d014 + fdeabb6 commit b7aa4f7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,26 +189,22 @@ jobs:
- name: Run the Python script to convert XML properties into Markdown
run: python3 dev-support/ci/xml_to_md.py ozone-bin/extracted > hadoop-hdds/docs/content/tools/Configurations.md
- name: Create Pull Request in apache/ozone
if: github.ref == 'refs/heads/master'
uses: peter-evans/create-pull-request@v4
with:
commit-message: "[Auto] Update Configurations.md from $GITHUB_SHA"
title: "[Auto] Update Configurations.md from $GITHUB_SHA"
body: "This is an Automated pull request generated from build-config-doc workflow."
- name: Checkout ozone-site repository
if: github.ref == 'refs/heads/master'
uses: actions/checkout@v4
with:
repository: apache/ozone-site
ref: 'HDDS-9225-website-v2'
token: ${{ secrets.GITHUB_TOKEN }}
path: ozone-site
- name: Copy MD file to ozone-site repository
if: github.ref == 'refs/heads/master'
run: |
cp hadoop-hdds/docs/content/tools/Configurations.md ozone-site/docs/*-administrative-guide/*-configuration/configurations.md
- name: Create Pull Request in apache/ozone-site
if: github.ref == 'refs/heads/master'
uses: peter-evans/create-pull-request@v4
with:
commit-message: "[Auto] Update configurations.md page from ozone $GITHUB_SHA"
Expand Down Expand Up @@ -654,3 +650,4 @@ jobs:
name: coverage
path: target/coverage
continue-on-error: true

1 change: 0 additions & 1 deletion dev-support/ci/xml_to_md.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,3 @@ def main():

if __name__ == '__main__':
main()

0 comments on commit b7aa4f7

Please sign in to comment.