|
33 | 33 | fi
|
34 | 34 | fi
|
35 | 35 | - name: Rebuild and publish image
|
36 |
| - if: ${{steps.check-stale.outputs.stale_dockerfile == true }} |
| 36 | + if: ${{ steps.check-stale.outputs.stale_dockerfile == 'true' }} |
37 | 37 | id: rebuild
|
38 | 38 | uses: elgohr/Publish-Docker-Github-Action@v5
|
39 | 39 | with:
|
|
43 | 43 | dockerfile: Dockerfile
|
44 | 44 | snapshot: true
|
45 | 45 | - name: Update build_html.sh script
|
46 |
| - if: ${{steps.check-stale.outputs.stale_dockerfile == true }} |
| 46 | + if: ${{ steps.check-stale.outputs.stale_dockerfile == 'true' }} |
47 | 47 | run: |
|
48 | 48 | git config --local user.email "[email protected]"
|
49 | 49 | git config --local user.name "GitHub Action"
|
|
53 | 53 | git add build_html.sh
|
54 | 54 | git commit -m "update build_html.sh script with new docker image"
|
55 | 55 | - name: Update build_pdf.sh script
|
56 |
| - if: ${{steps.check-stale.outputs.stale_dockerfile == true }} |
| 56 | + if: ${{ steps.check-stale.outputs.stale_dockerfile == 'true' }} |
57 | 57 | run: |
|
58 | 58 | git config --local user.email "[email protected]"
|
59 | 59 | git config --local user.name "GitHub Action"
|
|
63 | 63 | git add build_pdf.sh
|
64 | 64 | git commit -m "update build_pdf.sh script with new docker image"
|
65 | 65 | - name: Update docker-compose.yml script
|
66 |
| - if: ${{steps.check-stale.outputs.stale_dockerfile == true }} |
| 66 | + if: ${{ steps.check-stale.outputs.stale_dockerfile == 'true' }} |
67 | 67 | run: |
|
68 | 68 | git config --local user.email "[email protected]"
|
69 | 69 | git config --local user.name "GitHub Action"
|
|
72 | 72 | git add docker-compose.yml
|
73 | 73 | git commit -m "update docker-compose.yml script with new docker image"
|
74 | 74 | - name: Push changes to build scripts
|
75 |
| - if: ${{steps.check-stale.outputs.stale_dockerfile == true }} |
| 75 | + if: ${{ steps.check-stale.outputs.stale_dockerfile == 'true' }} |
76 | 76 | uses: ad-m/github-push-action@master
|
77 | 77 | with:
|
78 | 78 | github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
0 commit comments