From 69166d6c1442c86e7af4672191c9cbf8aaefde1b Mon Sep 17 00:00:00 2001 From: PreciousIfeaka Date: Wed, 13 Nov 2024 21:07:47 +0100 Subject: [PATCH] feat: i don tire --- .github/workflows/deployment.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 2a32c26..1a0ff81 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -56,12 +56,12 @@ jobs: echo ${{ secrets.APP_ENV }} > .env echo "pass 6" echo "pass 6" - cp scripts/e-commerce-api.service /etc/systemd/system/e-commerce-api.service + cp server-script/e-commerce-api.service /etc/systemd/system/e-commerce-api.service systemctl daemon-reload - systemctl restart prod + systemctl restart e-commerce-api echo "Waiting for service to start..." sleep 10 - if systemctl is-active --quiet prod.service; then + if systemctl is-active --quiet e-commerce-api.service; then echo "Deployment successful!" else echo "Deployment failed!"