Skip to content

Commit

Permalink
chore(ci): change pages to markdown (#1210)
Browse files Browse the repository at this point in the history
Co-authored-by: Lukasz Gornicki <[email protected]>
  • Loading branch information
Shurtu-gal and derberg authored May 27, 2024
1 parent 14ba325 commit d2069bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/update-docs-in-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
- name: Copy generator folder from Current Repo to Another
working-directory: ./website
run: |
rm -r ./pages/docs/tools/generator
mkdir -p ./pages/docs/tools/generator
rm -r ./markdown/docs/tools/generator
mkdir -p ./markdown/docs/tools/generator
rm ../generator/docs/README.md
rm -r ../generator/docs/jsdoc2md-handlebars
printf "%s\ntitle: Generator\nweight: 3\n%s" "---" "---"> ../generator/docs/_section.md
mv ../generator/docs/*.md ./pages/docs/tools/generator
mv ../generator/docs/*.md ./markdown/docs/tools/generator
- name: Commit and push
working-directory: ./website
run: |
Expand All @@ -50,4 +50,4 @@ jobs:
- name: Create PR
working-directory: ./website
run: |
gh pr create --title "docs(generator): update latest generator documentation" --body "Updated generator documentation is available and this PR introduces update to generator folder on the website" --head "update-generator-docs-${{ github.sha }}"
gh pr create --title "docs(generator): update latest generator documentation" --body "Updated generator documentation is available and this PR introduces update to generator folder on the website" --head "update-generator-docs-${{ github.sha }}"

0 comments on commit d2069bd

Please sign in to comment.