Skip to content

Commit

Permalink
Merge pull request #202 from smals-jy/patch-1
Browse files Browse the repository at this point in the history
ci: Update main.yml
  • Loading branch information
costateixeira authored Sep 6, 2024
2 parents 7123b3d + cb016fc commit 278101e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
steps:
- name: Get branch names
id: branch-name
uses: tj-actions/branch-names@v7.0.7
uses: tj-actions/branch-names@v8.0.1

- name: Get branch name
run: |
Expand All @@ -36,7 +36,7 @@ jobs:
echo ${{ steps.branch-name.outputs.is_default }}
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Update the image to the latest publisher
uses: docker://hl7fhir/ig-publisher-base:latest
with:
Expand All @@ -56,7 +56,7 @@ jobs:
args: java -Xmx4g -jar ./input-cache/publisher.jar publisher -ig . -auto-ig-build -repo https://github.com/${{github.repository}} -package-cache-folder ./fhir-package-cache

- name: Deploy candidate
uses: JamesIves/github-pages-deploy-action@4.1.4
uses: JamesIves/github-pages-deploy-action@v4.6.1
if: ${{ steps.branch-name.outputs.is_default }} == 'false'
with:
branch: gh-pages # The branch the action should deploy to.
Expand All @@ -66,7 +66,7 @@ jobs:
clean: false

- name: Deploy main
uses: JamesIves/github-pages-deploy-action@4.1.4
uses: JamesIves/github-pages-deploy-action@v4.6.1
if: ${{ steps.branch-name.outputs.is_default }} == 'true'
with:
branch: gh-pages # The branch the action should deploy to.
Expand Down

0 comments on commit 278101e

Please sign in to comment.