Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated publish action to remove files > 100mb #24

Merged
merged 2 commits into from
Dec 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,18 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
lfs: true

# Enable LFS
- name: Enable LFS
run: git lfs install

# Turn on LFS for db and zip files in ./output
- name: Track LFS files
run: git lfs track "*.db" "*.zip" "./output"

- name: Update the image to the latest publisher
uses: docker://hl7fhir/ig-publisher-base:latest
with:
Expand All @@ -35,6 +46,9 @@ jobs:
# Run the publisher - don't run the batch script but run the line directly
args: java -Xms1g -Xmx7g -jar ./input-cache/publisher.jar publisher -ig .

- name: remove large files
run: rm -f ./output/full-ig.zip

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down
Loading