Skip to content

Commit

Permalink
Update profile_tag_trigger_publication.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
brettesler-ext committed Aug 5, 2024
1 parent 588c941 commit e355be1
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/profile_tag_trigger_publication.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,31 +79,41 @@ jobs:
FULL_URL="$URL/core/package-list.json"
curl --output webroot/fhir/core/package-list.json --url $FULL_URL
- name: Download package-feed.xml
name: Download package-feed.xml
run: |
curl --output webroot/fhir/package-feed.xml --url https://hl7.org.au/fhir/package-feed.xml
curl --output webroot/fhir/package-feed.bak.xml --url https://hl7.org.au/fhir/package-feed.xml
- name: Download publication-feed.xml
run: |
curl --output webroot/fhir/publication-feed.xml --url https://hl7.org.au/fhir/publication-feed.xml
curl --output webroot/fhir/publication-feed.bak.xml --url https://hl7.org.au/fhir/publication-feed.xml
- name: Generate Package Registry
run: |
java -jar input-cache/publisher.jar -generate-package-registry webroot
- name: Run Aucore Go Publisher build
run: java -jar ./input-cache/publisher.jar -go-publish -source ./hl7au/au-fhir-core -web ./webroot -history ./fhir-history -registry ./ig-registry/fhir-ig-list.json -templates ./templates -tx https://txreg.azurewebsites.net/txdev
run: java -jar ./input-cache/publisher.jar -go-publish -source ./hl7au/au-fhir-core -web ./webroot -history ./fhir-history -registry ./ig-registry/fhir-ig-list.json -templates ./templates

- name: Run Aucore Go Publisher build
run: |
cp -r fhir-history/assets-hist/ ./webroot/fhir/core/assets-hist/
cp -r fhir-history/dist-hist/ ./webroot/fhir/core/dist-hist/
- name: Upload Artifact to Github
- name: Zip Release
uses: TheDoctor0/[email protected]
with:
type: 'zip'
filename: 'output.zip'
path: './webroot/fhir'
exclusions: '**/full-ig.zip'

- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: publish-output
path: webroot/fhir/core
name: ig-output
path: ./output.zip

- name: Upload Core Webroot to S3
run: aws s3 cp ./webroot/fhir/core s3://hl7au-fhir-ig/fhir/core --recursive --only-show-errors #core/${{ steps.get_tag.outputs.tag }}

0 comments on commit e355be1

Please sign in to comment.