Skip to content

Commit

Permalink
Try a fix with always()
Browse files Browse the repository at this point in the history
  • Loading branch information
NeuroShepherd committed Nov 28, 2024
1 parent 6b9aaa7 commit 50600c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name: Quarto Publish

jobs:
build-deploy-renv:
if: ${{ hashFiles('renv.lock') != '' }}
if: ${{ always() && hashFiles('renv.lock') != '' }}
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build-deploy-no-renv:
if: ${{ hashFiles('renv.lock') == '' }}
if: ${{ always() && hashFiles('renv.lock') == '' }}
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down

0 comments on commit 50600c6

Please sign in to comment.