Skip to content

Commit 2a98fcf

Browse files
committed
Clean before submodule
1 parent 7fd475b commit 2a98fcf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci_cd.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ jobs:
6060
run: |
6161
cd backend
6262
cd apps
63+
git clean -fdx
64+
git submodule foreach --recursive 'git clean -fdx'
6365
git submodule update --init --recursive
6466
git submodule update --remote
6567
@@ -138,6 +140,8 @@ jobs:
138140
sshpass ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }} bash <<'ENDSSH'
139141
cd ${{ vars.REPO_CLONE_PATH }}
140142
git checkout -q ${{ vars.BRANCH_NAME }} && git pull
143+
git clean -fdx
144+
git submodule foreach --recursive 'git clean -fdx'
141145
sudo make fetch-modules
142146
cd ${{ vars.REPO_CLONE_PATH }}/backend/apps/ifc_validation/checks/ifc_gherkin_rules && git checkout -q ${{ vars.BRANCH_NAME }} && git pull
143147
cd ./ifc_validation_models && git checkout -q ${{ vars.BRANCH_NAME }} && git pull

0 commit comments

Comments
 (0)