Skip to content

Commit 1a3af0d

Browse files
author
Shelson Ferrari
committed
ci cd apaga a pasta docs/site antes de gerar a documentacao
1 parent c0a3bde commit 1a3af0d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,14 @@ jobs:
201201
check_change "openapi/swagger.json"
202202
check_change "openapi/swagger.yaml"
203203
204+
# ---------------------------------
205+
# Clean docs/site directory
206+
# ---------------------------------
207+
- name: Clean docs/site directory
208+
if: env.is_primary == 'true'
209+
run: |
210+
rm -rf docs/site/*
211+
204212
# ---------------------------------
205213
# Generates CHANGELOG.md, .env, swagger.json, swagger.yaml, and DIRECTORY.md if needed
206214
# And Java doc in MD

0 commit comments

Comments
 (0)