Skip to content

Commit

Permalink
ci: minor fix in update docs workflow (#1267)
Browse files Browse the repository at this point in the history
Co-authored-by: asyncapi-bot <[email protected]>
  • Loading branch information
DhairyaMajmudar and asyncapi-bot authored Sep 10, 2024
1 parent 001bbcd commit 60a788d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/update-docs-in-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- 'master'
paths:
- 'apps/generator/docs/*.md'
- '.github/workflows/update-docs-in-website.yml'

jobs:
Make-PR:
Expand Down Expand Up @@ -39,7 +40,7 @@ jobs:
mkdir -p ./markdown/docs/tools/generator
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
printf "%s\ntitle: Generator\nweight: 3\n%s" "---" "---"> ../generator/apps/generator/docs/_section.md
mv ../generator/apps/generator/docs/*.md ./markdown/docs/tools/generator
- name: Commit and push
working-directory: ./website
Expand Down

0 comments on commit 60a788d

Please sign in to comment.