Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
costateixeira committed Sep 23, 2023
1 parent 2c080f2 commit 9086169
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,27 +44,25 @@ jobs:
path: ig-registry

- name: Create folder
uses: docker://hl7fhir/ig-publisher-base:latest
with:
entrypoint: /bin/sh
args: -c "mkdir -p ./fhir-package-cache && chown 1001:127 ./fhir-package-cache"
run: "mkdir -p ./fhir-package-cache && chown 1001:127 ./fhir-package-cache"

- name: Run publisher command
run: java -jar ./publisher.jar publisher -ig source -package-cache-folder ./fhir-package-cache

- name: Run publisher command for publishing release
run: java -Dfile.encoding=UTF-8 -jar publisher.jar -go-publish -package-cache-folder ./fhir-package-cache -source source -web $(pwd)/webroot -registry ./ig-registry/fhir-ig-list.json -history ./history-template -templates $(pwd)/webroot/templates

- name: Install rsync 📚
run: |
apt-get update && apt-get install -y rsync
- name: debug- List dirs
run: find . -type d

- name: Configure git to trust the workspace despite the different owner
run:
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git config --global --add safe.directory ./webroot

- name: Install rsync 📚
run: |
apt-get update && apt-get install -y rsync

- name: Deploy main
uses: JamesIves/[email protected]
Expand All @@ -76,7 +74,7 @@ jobs:
commit-message: Deploy website preview
single-commit: true
clean: false
verbose: true # Add this line for debug output


# - name: Deploy to gh-pages
# uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit 9086169

Please sign in to comment.