File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,21 +104,21 @@ jobs:
104104 deploy :
105105 runs-on : ubuntu-22.04
106106 needs : [editor-backend, nextjs]
107- if : vars .ORCHARD_WEBHOOK_NEXTJS != '' || vars .ORCHARD_WEBHOOK_BACKEND != ''
107+ if : secrets .ORCHARD_WEBHOOK_NEXTJS != '' || secrets .ORCHARD_WEBHOOK_BACKEND != ''
108108 environment : production
109109 steps :
110110 - name : Trigger Next.js Orchard deploy
111- if : vars .ORCHARD_WEBHOOK_NEXTJS != ''
111+ if : secrets .ORCHARD_WEBHOOK_NEXTJS != ''
112112 run : |
113- curl -sS -X POST "${{ vars .ORCHARD_WEBHOOK_NEXTJS }}" \
113+ curl -sS -X POST "${{ secrets .ORCHARD_WEBHOOK_NEXTJS }}" \
114114 -H "Content-Type: application/json" \
115115 -d '{"tag":"${{ github.sha }}"}'
116116 echo "Next.js webhook dispatched"
117117
118118 - name : Trigger editor-backend Orchard deploy
119- if : vars .ORCHARD_WEBHOOK_BACKEND != ''
119+ if : secrets .ORCHARD_WEBHOOK_BACKEND != ''
120120 run : |
121- curl -sS -X POST "${{ vars .ORCHARD_WEBHOOK_BACKEND }}" \
121+ curl -sS -X POST "${{ secrets .ORCHARD_WEBHOOK_BACKEND }}" \
122122 -H "Content-Type: application/json" \
123123 -d '{"tag":"${{ github.sha }}"}'
124124 echo "Editor backend webhook dispatched"
You can’t perform that action at this time.
0 commit comments