Skip to content

Commit 44b29ee

Browse files
bool -> string check in workflow
1 parent 8cfdf14 commit 44b29ee

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/update_build_environment.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
fi
3434
fi
3535
- name: Rebuild and publish image
36-
if: ${{steps.check-stale.outputs.stale_dockerfile == true }}
36+
if: ${{ steps.check-stale.outputs.stale_dockerfile == 'true' }}
3737
id: rebuild
3838
uses: elgohr/Publish-Docker-Github-Action@v5
3939
with:
@@ -43,7 +43,7 @@ jobs:
4343
dockerfile: Dockerfile
4444
snapshot: true
4545
- name: Update build_html.sh script
46-
if: ${{steps.check-stale.outputs.stale_dockerfile == true }}
46+
if: ${{ steps.check-stale.outputs.stale_dockerfile == 'true' }}
4747
run: |
4848
git config --local user.email "[email protected]"
4949
git config --local user.name "GitHub Action"
@@ -53,7 +53,7 @@ jobs:
5353
git add build_html.sh
5454
git commit -m "update build_html.sh script with new docker image"
5555
- name: Update build_pdf.sh script
56-
if: ${{steps.check-stale.outputs.stale_dockerfile == true }}
56+
if: ${{ steps.check-stale.outputs.stale_dockerfile == 'true' }}
5757
run: |
5858
git config --local user.email "[email protected]"
5959
git config --local user.name "GitHub Action"
@@ -63,7 +63,7 @@ jobs:
6363
git add build_pdf.sh
6464
git commit -m "update build_pdf.sh script with new docker image"
6565
- name: Update docker-compose.yml script
66-
if: ${{steps.check-stale.outputs.stale_dockerfile == true }}
66+
if: ${{ steps.check-stale.outputs.stale_dockerfile == 'true' }}
6767
run: |
6868
git config --local user.email "[email protected]"
6969
git config --local user.name "GitHub Action"
@@ -72,7 +72,7 @@ jobs:
7272
git add docker-compose.yml
7373
git commit -m "update docker-compose.yml script with new docker image"
7474
- name: Push changes to build scripts
75-
if: ${{steps.check-stale.outputs.stale_dockerfile == true }}
75+
if: ${{ steps.check-stale.outputs.stale_dockerfile == 'true' }}
7676
uses: ad-m/github-push-action@master
7777
with:
7878
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)