Skip to content

Commit

Permalink
Refactor Dockerfile paths for improved configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Muneer-Shafi committed Jan 5, 2025
1 parent 9524ab5 commit 05bc5cd
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ jobs:
run: |
docker pull muneer1997/demo_php:latest
docker pull muneer1997/demo_nginx:latest
- name: Fix Permissions
run: |
sudo chmod -R 775 vendor
sudo chown -R $USER:$USER vendor
- name: Clean Vendor Directory
run: |
if [ -d "vendor" ]; then
chmod -R 775 vendor
rm -rf vendor
fi
# - name: Fix Permissions
# run: |
# sudo chmod -R 775 vendor
# sudo chown -R $USER:$USER vendor

# - name: Clean Vendor Directory
# run: |
# if [ -d "vendor" ]; then
# chmod -R 775 vendor
# rm -rf vendor
# fi
- name: Stop and remove existing containers
run: |
docker-compose down || true
Expand Down

0 comments on commit 05bc5cd

Please sign in to comment.