File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : " Render"
22
33on :
4+ push :
45 workflow_call :
56 # inputs:
67 # version:
@@ -51,12 +52,22 @@ jobs:
5152 run : |
5253 echo "env.version: ${{ env.version }}"
5354 echo "imgURL: ghcr.io/${{ github.repository }}:${{ env.version }}"
55+ echo "ref: ${{ env.version }}"
56+
57+ # # https://render.com/docs/deploy-hooks#deploying-from-an-image-registry
58+ # - name: "Render Deploy"
59+ # uses: cssnr/web-request-action@v1
60+ # env:
61+ # version: ${{ env.version == 'master' && 'latest' || env.version }}
62+ # with:
63+ # url: ${{ secrets.RENDER_HOOK }}
64+ # params: '{"imgURL": "ghcr.io/${{ github.repository }}:${{ env.version }}"}'
5465
55- # https://render.com/docs/deploy-hooks#deploying-from-an-image-registry
5666 - name : " Render Deploy"
5767 uses : cssnr/web-request-action@v1
5868 env :
5969 version : ${{ env.version == 'master' && 'latest' || env.version }}
6070 with :
6171 url : ${{ secrets.RENDER_HOOK }}
62- params : ' {"imgURL": "ghcr.io/${{ github.repository }}:${{ env.version }}"}'
72+ params : |
73+ ref: ${{ env.version }}
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ services:
22 - type : web
33 name : node-badges
44 plan : free
5- previews :
6- generation : automatic
75 runtime : docker
86 repo : https://github.com/smashedr/node-badges
97 autoDeployTrigger : off
You can’t perform that action at this time.
0 commit comments