Skip to content

Commit d8ed546

Browse files
authored
Change documentation output path to /tmp/docs
Updated documentation workflow to output to a temporary directory.
1 parent cd19164 commit d8ed546

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/documentation.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,17 @@ jobs:
3131
run: |
3232
swift package resolve
3333
swift build
34-
rm -rf docs
3534
swift package generate-documentation \
3635
--target DataStructuresKit \
3736
--disable-indexing \
3837
--transform-for-static-hosting \
3938
--hosting-base-path DataStructuresKit \
40-
--output-path docs
39+
--output-path /tmp/docs
4140
4241
- name: Upload artifact
4342
uses: actions/upload-pages-artifact@v3
4443
with:
45-
path: docs
44+
path: /tmp/docs
4645

4746
deploy:
4847
needs: build

0 commit comments

Comments
 (0)