Skip to content

Update publisher with the script #14

Update publisher with the script

Update publisher with the script #14

Workflow file for this run

# This workflow sets up and runs the IG publisher and publishes the results to GitHub Pages
name: Node.js CI
on:
push:
branches: [ master ]
workflow_dispatch:
# Set permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update the Docker image to the latest publisher
uses: docker://hl7fhir/ig-publisher-base:latest
with:
args: ./_updatePublisher.sh --yes
- name: Run the IG publisher
uses: docker://hl7fhir/ig-publisher-base:latest
with:
args: ./_genonce.sh
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifacts
uses: actions/upload-pages-artifact@v3
with:
path: './output'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4