Skip to content

Commit

Permalink
another try
Browse files Browse the repository at this point in the history
  • Loading branch information
oliveregger committed May 15, 2024
1 parent d540002 commit d5a767d
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/publish_ig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:

- name: 📥 Download IG Publisher
run: wget -q https://github.com/HL7/fhir-ig-publisher/releases/latest/download/publisher.jar

- uses: actions/checkout@v4
with:
repository: ${{ github.repository }}

- name: Get the repo name
id: repo_name
Expand All @@ -45,6 +49,7 @@ jobs:
- name: 🏃‍♂️ Run IG Publisher
timeout-minutes: 45 # We need a long timeout here
run : |
cd /home/runner/work/${{ steps.repo_name.outputs.repo }}/${{ steps.repo_name.outputs.repo }}
java -Xmx8192m -jar ../publisher.jar -ig .
cd ..
Expand All @@ -56,4 +61,13 @@ jobs:
- name: List path
run: ls -R ./

# cd /home/runner/work/${{ steps.repo_name.outputs.repo }}/${{ steps.repo_name.outputs.repo }}
# 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
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./igSource/output
# destination_dir: ig/${{ steps.branch-name.outputs.current_branch }}
# exclude_assets: '**.zip,**.tgz,**.pack'
# commit_message: ' ${{ github.event.head_commit.message }}'

0 comments on commit d5a767d

Please sign in to comment.