Skip to content

Commit

Permalink
chore: simplify docs build command (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhwood authored Jul 2, 2023
1 parent 127d366 commit baf3fba
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,16 @@ jobs:
- name: Package documentation 🛠
run: |
export DOCC_JSON_PRETTYPRINT="YES"
swift package \
--allow-writing-to-directory ./docs \
generate-documentation --target WMATAUI \
swift package generate-documentation \
--target WMATAUI \
--disable-indexing \
--transform-for-static-hosting \
--hosting-base-path WMATAUI.swift \
--output-path ./docs
--hosting-base-path WMATAUI.swift
- name: Upload artifact 📜
uses: actions/upload-pages-artifact@v1
with:
# Upload docs directory
path: 'docs'
path: .build/plugins/Swift-DocC/outputs/WMATAUI.docarchive
- name: Deploy to GitHub Pages 🐙
id: deployment
uses: actions/deploy-pages@v1

0 comments on commit baf3fba

Please sign in to comment.