Skip to content

Commit

Permalink
update deploy.yml again
Browse files Browse the repository at this point in the history
  • Loading branch information
ChepkemoiPeris committed Nov 1, 2024
1 parent 3259c59 commit 0cb7ef4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
username: ${{ secrets.USERNAME }}
port: ${{ secrets.PORT }}
key: ${{ secrets.SSHKEY }}
script: "cd /var/www/html && ./.scripts/deploy.sh"
script: "cd /var/www/html && chmod +x ./.scripts/deploy.sh && ./.scripts/deploy.sh"
1 change: 0 additions & 1 deletion .scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ echo "Deployment started ..."
# git pull origin main
git pull origin main

chmod +x .scripts/deploy.sh
# Install composer dependencies
composer install --no-dev --no-interaction --prefer-dist --optimize-autoloader

Expand Down

0 comments on commit 0cb7ef4

Please sign in to comment.