Skip to content

Commit

Permalink
feat: i don tire
Browse files Browse the repository at this point in the history
  • Loading branch information
PreciousIfeaka committed Nov 13, 2024
1 parent 6a39cc6 commit 69166d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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!"
Expand Down

0 comments on commit 69166d6

Please sign in to comment.