Skip to content

Commit 0e01247

Browse files
uploading validation html
1 parent 74f6852 commit 0e01247

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/FHIRValidator.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,27 @@ jobs:
4545
# PATH_TO_QUALITY_CONTROL_RULES: qc/custom
4646
DOTNET_VALIDATION_ENABLED: true
4747
JAVA_VALIDATION_ENABLED: true
48-
JAVA_VALIDATION_OPTIONS: -allow-example-urls true -advisor-file src/fhir/validator/advisor.json -html-output validation.html -language de -display-issues-are-warnings -output-style compact -show-message-ids -resolution-context file:src/fhir/fsh-generated/resources/ -html-output validation.html -language de -display-issues-are-warnings
48+
JAVA_VALIDATION_OPTIONS: -allow-example-urls true -advisor-file src/fhir/validator/advisor.json -html-output validation-output/validation.html -language de -display-issues-are-warnings -output-style compact -show-message-ids -resolution-context file:src/fhir/fsh-generated/resources/ -html-output validation.html -language de -display-issues-are-warnings
4949
SIMPLIFIER_USERNAME: ${{ secrets.SIMPLIFIER_USERNAME }}
5050
SIMPLIFIER_PASSWORD: ${{ secrets.SIMPLIFIER_PASSWORD }}
5151
SUSHI_ENABLED: true
5252
SUSHI_OPTIONS: src/fhir/
5353
EXPECTED_FAILS: VALIDATION_CONFORMANCE_DOTNET VALIDATION_CONFORMANCE_JAVA
5454

55+
- name: Deploy validation report to GitHub Pages
56+
uses: peaceiris/actions-gh-pages@v4
57+
with:
58+
github_token: ${{ secrets.GITHUB_TOKEN }}
59+
publish_branch: gh-pages
60+
destination_dir: ${{ github.ref_name }}
61+
publish_dir: ${{ github.workspace }}/validation-output/
62+
63+
5564
- name: Upload validation report
5665
uses: actions/upload-artifact@v4
5766
with:
5867
name: FHIR_Validation_Report
59-
path: ${{ github.workspace }}/validation.html
68+
path: ${{ github.workspace }}/validation-output/validation.html
6069
if-no-files-found: error
6170
retention-days: 30
6271
compression-level: 0

0 commit comments

Comments
 (0)