File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to Simplifier
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ paths :
8+ - ' input/fsh/**'
9+ - ' sushi-config.yaml'
10+ - ' .github/workflows/publish-to-simplifier.yml'
11+
12+ jobs :
13+ publish :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout repository
17+ uses : actions/checkout@v4
18+
19+ - name : Setup Node.js
20+ uses : actions/setup-node@v4
21+ with :
22+ node-version : ' 18'
23+
24+ - name : Install SUSHI
25+ run : npm install -g fsh-sushi
26+
27+ - name : Run SUSHI
28+ run : sushi .
29+
30+ - name : Publish to Simplifier
31+ uses : HL7/fhir-shorthand@master
32+ with :
33+ SIMPLIFIER_USERNAME : ${{ secrets.SIMPLIFIER_USERNAME }}
34+ SIMPLIFIER_PASSWORD : ${{ secrets.SIMPLIFIER_PASSWORD }}
35+ SIMPLIFIER_PROJECT : Syrian-Core-Profiles
36+ FSH_FOLDER : input/fsh
37+ OUTPUT_FOLDER : fsh-generated/resources
38+
39+ - name : Upload build artifacts
40+ uses : actions/upload-artifact@v4
41+ if : always()
42+ with :
43+ name : fhir-profiles
44+ path : fsh-generated/resources/
45+ retention-days : 30
You can’t perform that action at this time.
0 commit comments