modified history template and workflow
All checks were successful
FHIR IG CI/CD Pipeline with Version Persistence / build-ig (push) Successful in 5m36s
FHIR IG CI/CD Pipeline with Version Persistence / deploy (push) Successful in 8s

This commit is contained in:
2026-03-07 05:32:12 +06:00
parent 665ba07e37
commit 57aba6ddc6
2 changed files with 11 additions and 24 deletions

View File

@@ -61,7 +61,8 @@ jobs:
- name: Build FHIR IG
run: |
echo "Building FHIR IG version ${{ steps.version.outputs.version }}..."
mkdir -p input/_data
cp package-list.json input/_data/package-list.json
CONTAINER_ID=$(docker create \
hl7fhir/ig-publisher-base:latest \
/bin/bash -c "cp -r /home/publisher/ig /tmp/build && cd /tmp/build && _updatePublisher.sh -y && _genonce.sh")

View File

@@ -1,15 +1,7 @@
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R5/fhir-single.xsd">
<div xmlns="http://www.w3.org/1999/xhtml">
<a name="intro"> </a>
<h3>Version History</h3>
<p>
This page provides the version history for the Bangladesh Core FHIR Implementation Guide.
</p>
<p>
For a machine-readable version history, see <a href="package-list.json">package-list.json</a>.
</p>
<a name="published"> </a>
<h4>Published Versions</h4>
<table class="grid">
<thead>
<tr>
@@ -20,12 +12,12 @@
</tr>
</thead>
<tbody>
{% for ver in site.data.info.versions %}
{% if ver.id != 'current' %}
{% for ver in site.data['package-list'].list %}
{% if ver.version != 'current' %}
<tr>
<td><a href="{{ver.url}}"><b>{{ver.id}}</b></a></td>
<td><a href="{{ver.path}}"><b>{{ver.version}}</b></a></td>
<td>{{ver.date}}</td>
<td>{{ver.status}}</td>
<td><span class="badge">{{ver.status}}</span></td>
<td>{{ver.desc}}</td>
</tr>
{% endif %}
@@ -33,13 +25,7 @@
</tbody>
</table>
<a name="ci"> </a>
<h4>Continuous Integration Build</h4>
{% for ver in site.data.info.versions %}
{% if ver.id == 'current' %}
<div style="background-color: #f8f9fa; padding: 10px; border-left: 5px solid #007bff; margin-top: 10px;">
<p>Latest development build is available at: <a href="{{ver.url}}">{{ver.url}}</a></p>
</div>
{% if site.data['package-list'] == nil %}
<p style="color: red;"><i>Notice: package-list.json not found in _data folder during build.</i></p>
{% endif %}
{% endfor %}
</div>