Skip to content

Commit

Permalink
Update documentation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelhenry authored Aug 21, 2023
1 parent 342e717 commit 93205a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- "main"
tags:
- "*"

permissions:
contents: read
Expand All @@ -24,11 +26,11 @@ jobs:
- uses: actions/checkout@v3
- name: Generate Documentation
run: |
swift package --allow-writing-to-directory ./docs \
swift package --allow-writing-to-directory "./docs/${GITHUB_REF}" \
generate-documentation --target XConfigs \
--disable-indexing \
--transform-for-static-hosting \
--output-path ./docs \
--output-path "./docs/${GITHUB_REF}" \
--hosting-base-path XConfigs
- name: Setup Pages
Expand Down

0 comments on commit 93205a8

Please sign in to comment.