From 00aa1dd071b225b5f7dabaa446af5871ef2fb4a3 Mon Sep 17 00:00:00 2001 From: oliveregger Date: Wed, 15 May 2024 17:32:11 +0200 Subject: [PATCH] go publish? --- .github/workflows/publish_ig.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/publish_ig.yml b/.github/workflows/publish_ig.yml index 0ffea35..0284868 100644 --- a/.github/workflows/publish_ig.yml +++ b/.github/workflows/publish_ig.yml @@ -60,9 +60,21 @@ jobs: repository: hl7ch/ig-release path: ig-release + - uses: actions/checkout@v4 + with: + repository: hl7ch/hl7ch.github.io + path: ig-release/hl7ch.github.io + - name: List path run: ls -R ./ + - name: 🏃‍♂️ Run Publication + timeout-minutes: 45 # We need a long timeout here + run: | + cd /home/runner/work/${{ steps.repo_name.outputs.repo }}/ig-release + java -jar -Dfile.encoding=UTF-8 -Xms3550m -Xmx3550m ../publisher.jar -go-publish -source $PWD/../${{ steps.repo_name.outputs.repo }} -web $PWD/hl7ch.github.io -registry ig-registry/fhir-ig-list.json -history ig-history -templates hl7ch.github.io/templates -temp $PWD/buildtmp + cd .. + # 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