@@ -15,52 +15,52 @@ jobs:
1515 webhook_secret : ${{ secrets.WEBHOOK_SECRET_SGX }}
1616 webhook_auth : ${{ secrets.WEBHOOK_AUTH_SGX }}
1717 data : >-
18- {"commands":["git pull","npm i ","npm test","sudo systemctl restart bridge"]}
18+ {"commands":["git reset --hard && git pull","npm ci ","npm test","sudo systemctl restart bridge"]}
1919 - name : Invoke WDC deployment hook
2020 uses : distributhor/workflow-webhook@v3
2121 env :
2222 webhook_url : https://my.domcloud.co/api/githubdeploy
2323 webhook_secret : ${{ secrets.WEBHOOK_SECRET_WDC }}
2424 webhook_auth : ${{ secrets.WEBHOOK_AUTH_WDC }}
2525 data : >-
26- {"commands":["git pull","npm i ","npm test","sudo systemctl restart bridge"]}
26+ {"commands":["git reset --hard && git pull","npm ci ","npm test","sudo systemctl restart bridge"]}
2727 - name : Invoke NUE deployment hook
2828 uses : distributhor/workflow-webhook@v3
2929 env :
3030 webhook_url : https://my.domcloud.co/api/githubdeploy
3131 webhook_secret : ${{ secrets.WEBHOOK_SECRET_NUE }}
3232 webhook_auth : ${{ secrets.WEBHOOK_AUTH_NUE }}
3333 data : >-
34- {"commands":["git pull","npm i ","npm test","sudo systemctl restart bridge"]}
34+ {"commands":["git reset --hard && git pull","npm ci ","npm test","sudo systemctl restart bridge"]}
3535 - name : Invoke OSK deployment hook
3636 uses : distributhor/workflow-webhook@v3
3737 env :
3838 webhook_url : https://my.domcloud.co/api/githubdeploy
3939 webhook_secret : ${{ secrets.WEBHOOK_SECRET_OSK }}
4040 webhook_auth : ${{ secrets.WEBHOOK_AUTH_OSK }}
4141 data : >-
42- {"commands":["git pull","npm i ","npm test","sudo systemctl restart bridge"]}
42+ {"commands":["git reset --hard && git pull","npm ci ","npm test","sudo systemctl restart bridge"]}
4343 - name : Invoke SAO deployment hook
4444 uses : distributhor/workflow-webhook@v3
4545 env :
4646 webhook_url : https://my.domcloud.co/api/githubdeploy
4747 webhook_secret : ${{ secrets.WEBHOOK_SECRET_SAO }}
4848 webhook_auth : ${{ secrets.WEBHOOK_AUTH_SAO }}
4949 data : >-
50- {"commands":["git pull","npm i ","npm test","sudo systemctl restart bridge"]}
50+ {"commands":["git reset --hard && git pull","npm ci ","npm test","sudo systemctl restart bridge"]}
5151 - name : Invoke SGP deployment hook
5252 uses : distributhor/workflow-webhook@v3
5353 env :
5454 webhook_url : https://my.domcloud.co/api/githubdeploy
5555 webhook_secret : ${{ secrets.WEBHOOK_SECRET_SGP }}
5656 webhook_auth : ${{ secrets.WEBHOOK_AUTH_SGP }}
5757 data : >-
58- {"commands":["git pull","npm i ","npm test","sudo systemctl restart bridge"]}
58+ {"commands":["git reset --hard && git pull","npm ci ","npm test","sudo systemctl restart bridge"]}
5959 - name : Invoke MNZ deployment hook
6060 uses : distributhor/workflow-webhook@v3
6161 env :
6262 webhook_url : https://my.domcloud.co/api/githubdeploy
6363 webhook_secret : ${{ secrets.WEBHOOK_SECRET_MNZ }}
6464 webhook_auth : ${{ secrets.WEBHOOK_AUTH_MNZ }}
6565 data : >-
66- {"commands":["git pull","npm i ","npm test","sudo systemctl restart bridge"]}
66+ {"commands":["git reset --hard && git pull","npm ci ","npm test","sudo systemctl restart bridge"]}
0 commit comments