Skip to content

Commit

Permalink
Refactor: GitHub actions
Browse files Browse the repository at this point in the history
Refactored github actions by fixing the api doc link
  • Loading branch information
shreelakshmijoshi committed Sep 5, 2024
1 parent 0eb5cd6 commit a368224
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/move_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,17 @@ jobs:
cd target-repo
git checkout dev
- name: Copy Files to Target Repository
- name: Copy Files from docs to Target Repository
run: |
cp -r docs/* target-repo/acl-docs/
ls -la target-repo/acl-docs
ls -la target-repo/acl-docs
- name: Copy other files to target repository
run: |
cp -r LICENSE target-repo/acl-docs/ |
cp -r CODE_OF_CONDUCT.md target-repo/acl-docs/ |
cp -r CONTRIBUTING.md target-repo/acl-docs/
ls -la target-repo/acl-docs
- name: Commit and Push Changes to Target Repository
env:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/update_wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
-e 's|./SETUP-and-Installation.md|./05-SETUP-and-Installation|g' \
-e 's|./example-tutorials|./06-Tutorials|g' \
-e 's|./FAQ.md|07-FAQ|g' \
-e 's|./mai./|./main//docs/|g' README.md > wiki/Home.md
-e 's|./mai./|d/main/docs/|g' README.md > wiki/Home.md
ls -la wiki # Verify the file creation
- name: Copy Files to Wiki
Expand All @@ -59,6 +59,9 @@ jobs:
mv wiki/SETUP-and-Installation.md wiki/05-SETUP-and-Installation.md
mv wiki/Tutorials.md wiki/06-Tutorials.md
mv wiki/FAQ.md wiki/07-FAQ.md
mv wiki/LICENSE wiki/08-LICENSE
mv wiki/CODE_OF_CONDUCT.md wiki/09-CODE_OF_CONDUCT.md
mv wiki/CONTRIBUTING.md wiki/10-CONTRIBUTING.md
ls -la wiki # List files to verify renaming
Expand Down

0 comments on commit a368224

Please sign in to comment.