Skip to content

Commit

Permalink
ci: docs update workflow fixed (#1265)
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaMajmudar committed Sep 4, 2024
1 parent 5a71b72 commit 0ab1a3d
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 @@ -5,7 +5,7 @@ on:
branches:
- 'master'
paths:
- 'docs/*.md'
- 'apps/generator/docs/*.md'

jobs:
Make-PR:
Expand Down Expand Up @@ -37,10 +37,10 @@ jobs:
run: |
rm -r ./markdown/docs/tools/generator
mkdir -p ./markdown/docs/tools/generator
rm ../generator/docs/README.md
rm -r ../generator/docs/jsdoc2md-handlebars
rm ../generator/apps/generator/docs/README.md
rm -r ../generator/apps/generator/docs/jsdoc2md-handlebars
printf "%s\ntitle: Generator\nweight: 3\n%s" "---" "---"> ../generator/docs/_section.md
mv ../generator/docs/*.md ./markdown/docs/tools/generator
mv ../generator/apps/generator/docs/*.md ./markdown/docs/tools/generator
- name: Commit and push
working-directory: ./website
run: |
Expand Down

0 comments on commit 0ab1a3d

Please sign in to comment.