-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
62c7aa7
commit 70b2fdf
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,12 +15,12 @@ jobs: | |
container: hl7fhir/ig-publisher-base:latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Node.js | ||
- name: 🖥️ Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '16' | ||
|
||
- name: Install FHIR packages and run IG Publisher | ||
- name: Install 🔥 FHIR packages 🇳🇴 | ||
run: | | ||
echo "NPM install fhir r4 core 4.0.1 from package registry" | ||
npm --registry https://packages.simplifier.net install [email protected] | ||
|
@@ -31,13 +31,17 @@ jobs: | |
mkdir -p /github/home/.fhir/packages/hl7.fhir.no.basis#2.2.0/package | ||
echo "Copy local no-basis snapshot to .fhir package cache directory" | ||
cp -r ./node_modules/hl7.fhir.no.basis/* /github/home/.fhir/packages/hl7.fhir.no.basis#2.2.0/package | ||
- name: Run 🔥 IG Publsher with 🍣 Sushi | ||
run: | | ||
cd ${{ env.IG }} | ||
echo "Get latest publisher" | ||
curl -L https://github.com/HL7/fhir-ig-publisher/releases/latest/download/publisher.jar -o ./input-cache/publisher.jar --create-dirs | ||
echo "Install Sushi compiler" | ||
npm install -g fsh-sushi | ||
echo "Run IG publisher" | ||
java -jar ./input-cache/publisher.jar publisher -ig ig.ini | ||
# Publishes the HTML page to a seperate branch in order to host it using GitHub-Pages. | ||
# This will overwrite the currently published HTML page. | ||
- name: 🚀 Deploy to GitHub-Pages | ||
|