Skip to content

Commit 342fc8f

Browse files
committed
fix: TRACEFOSS-1029 Updated paths in gh-pages action.
1 parent 1a49bf5 commit 342fc8f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/publish-documentation.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ jobs:
1818
permissions:
1919
contents: write
2020
runs-on: ubuntu-latest
21-
defaults:
22-
run:
23-
working-directory: backend
2421
steps:
2522
- name: Checkout
2623
uses: actions/checkout@v3
@@ -63,7 +60,7 @@ jobs:
6360
env:
6461
FILES: "administration/administration-guide arc42/full api-specification/api-specification"
6562
run: |
66-
cd backend/docs/target/generated-docs
63+
cd docs/target/generated-docs
6764
for file in ${FILES}; do \
6865
pandoc -f html -t markdown_strict --wrap=preserve "${file}.html" -o "${file}.md"; \
6966
sed -i 's/](#_/](#/' "${file}.md"; \
@@ -73,5 +70,5 @@ jobs:
7370
uses: peaceiris/[email protected]
7471
with:
7572
github_token: ${{ secrets.GITHUB_TOKEN }}
76-
publish_dir: ".backend/docs/target/generated-docs"
73+
publish_dir: "./docs/target/generated-docs"
7774
destination_dir: "docs"

0 commit comments

Comments
 (0)