Skip to content

Commit 88459c3

Browse files
committed
chore: change deps folder to source
1 parent 0e5b2f1 commit 88459c3

File tree

5 files changed

+4
-1779
lines changed

5 files changed

+4
-1779
lines changed

.github/workflows/generate-messageflow-docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,20 @@ jobs:
2727
2828
- name: Copy asyncapi files to appropriate folder
2929
run: |
30-
mkdir -p deps/${{ github.event.client_payload.source_repo }}
30+
mkdir -p source/${{ github.event.client_payload.source_repo }}
3131
find temp-source -type f \( -name "*.yaml" -o -name "*.yml" \) -exec grep -l "asyncapi:" {} \; | while read -r file; do
3232
FILENAME=$(basename "$file")
33-
cp $file "deps/${{ github.event.client_payload.source_repo }}/$FILENAME"
33+
cp $file "source/${{ github.event.client_payload.source_repo }}/$FILENAME"
3434
done
3535
rm -rf temp-source
3636
3737
- name: Generate docs
3838
run: |
3939
docker run --rm \
4040
--user $(id -u):$(id -g) \
41-
-v ${{ github.workspace }}:/src \
41+
-v ${{ github.workspace }}:/wrk \
4242
ghcr.io/holydocs/messageflow:latest \
43-
gen-docs --dir src/deps --output src/docs
43+
gen-docs --dir wrk/source --output wrk/docs
4444
4545
- name: Commit & push (if anything changed)
4646
env:

0 commit comments

Comments
 (0)