Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-robertamoah authored Aug 25, 2024
1 parent ade0906 commit 983308a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ jobs:
aws ssm send-command \
--instance-ids "i-0ceef8e041cbec9af" \
--document-name "AWS-RunShellScript" \
--parameters '{"commands":["cd $DIR_PATH", "git pull origin main", "sudo chown -R $USER:$USER .", "npm run build", "php composer install", "php artisan cache:clear", "sudo chown -R www-data:www-data storage", "sudo chown -R www-data:www-data bootstrap/cache", "sudo service nginx restart"]}' \
--parameters 'commands:["cd $DIR_PATH", "git pull origin main", "sudo chown -R $USER:$USER .", "npm run build", "php composer install", "php artisan cache:clear", "sudo chown -R www-data:www-data storage", "sudo chown -R www-data:www-data bootstrap/cache", "sudo service nginx restart"]' \
--comment "Deploying application code"

0 comments on commit 983308a

Please sign in to comment.