Update github action file

This commit is contained in:
شركة خبير المحدودة 2025-10-14 18:12:41 +03:00
parent ab072062c5
commit 2eb9f7ebc5
1 changed files with 1 additions and 1 deletions

View File

@ -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."