Skip to content

Commit

Permalink
Update deploy-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahKamara authored Mar 10, 2024
1 parent 7bacca0 commit 688c8fd
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/deploy-docs
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@691b6b72e1477342a320edc7df795783d11abc36 # PR for Swift 5.10
uses: actions/checkout@v4 # PR for Swift 5.10
- uses: fwcd/swift-docc-action@v1
with:
target: CompoundPredicate
output: ./Documentation.doccarchive
hosting-base-path: yourproject
disable-indexing: 'true'
transform-for-static-hosting: 'true'
hosting-base-path "/CompoundPredicate"

- name: Setup Pages
uses: actions/configure-pages@v4

- name: Upload Documentation Archive
uses: actions/upload-pages-artifact@v3
with:
path: "./Documentation.doccarchive/"

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 688c8fd

Please sign in to comment.