Update technical-documentation-v1.md #27
This file contains hidden or 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
| name: Publish FHIR IG | |
| on: | |
| push: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Download IG Publisher | |
| run: | | |
| mkdir -p input-cache | |
| curl -L https://github.com/HL7/fhir-ig-publisher/releases/latest/download/publisher.jar -o input-cache/publisher.jar | |
| - name: Generate PlantUML diagrams | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y plantuml | |
| cd input/images | |
| plantuml -tpng *.puml | |
| - name: Run SUSHI | |
| uses: docker://hl7fhir/ig-publisher-base:latest | |
| with: | |
| args: sushi . | |
| - name: Run the IG publisher | |
| uses: docker://hl7fhir/ig-publisher-base:latest | |
| with: | |
| args: java -jar input-cache/publisher.jar -ig . | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./output | |
| enable_jekyll: false |