Update github action file
This commit is contained in:
parent
69cb0aafaa
commit
d28f7356b6
|
|
@ -99,7 +99,7 @@ jobs:
|
||||||
- name: Checkout And Restart Project
|
- name: Checkout And Restart Project
|
||||||
run: |
|
run: |
|
||||||
sudo chmod +x /home/${{ secrets.CLIENT_USER }}/scripts/pull/preprod_pull_standard_code.sh
|
sudo chmod +x /home/${{ secrets.CLIENT_USER }}/scripts/pull/preprod_pull_standard_code.sh
|
||||||
sudo /home/${{ secrets.CLIENT_USER }}/scripts/pull/preprod_pull_standard_code.sh
|
sudo /home/${{ secrets.CLIENT_USER }}/scripts/pull/preprod_pull_standard_code.sh ${GITHUB_REF#refs/heads/} ${{ secrets.GH_TOKEN }}
|
||||||
sudo systemctl restart ${{ secrets.NEW_ENSAN_VPN_CLIENT_STAGING_SERVICE }}
|
sudo systemctl restart ${{ secrets.NEW_ENSAN_VPN_CLIENT_STAGING_SERVICE }}
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "** [INFO] "STAGE" service have been restarted."
|
echo "** [INFO] "STAGE" service have been restarted."
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue