Skip to content

Commit

Permalink
Update ig-gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rockphotog authored Jan 27, 2025
1 parent 62c7aa7 commit 70b2fdf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ig-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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
Expand Down

0 comments on commit 70b2fdf

Please sign in to comment.