Skip to content

Commit

Permalink
correct rm command
Browse files Browse the repository at this point in the history
  • Loading branch information
nqhoan-axonivy committed Oct 30, 2024
1 parent ff0684b commit 9d95b7b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,17 @@ jobs:
steps:
- name: Bring down and remove containers and images
continue-on-error: true
working-directory: ${{ env.BASE_WORKING_DIR }}/publish
working-directory: ${{ env.BASE_WORKING_DIR }}
run: |
docker compose down --rmi all
docker compose -f publish/docker-compose.yml down --rmi all
- name: Delete old sources code
continue-on-error: true
run: |
echo "Clean up workspaces ${{ env.BASE_WORKING_DIR }}"
rm -rf ${{ env.BASE_WORKING_DIR }}/*
mkdir -p ${{ env.BASE_WORKING_DIR }}
rm -rf ./marketplace-ui/*
rm -rf ./marketplace-service/*
rm -rf ./publish/*
rm -rf ./config/*
build-and-deploy:
name: Build and bring up docker containers
Expand Down

0 comments on commit 9d95b7b

Please sign in to comment.