diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b2be27b4..f8c07970 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -112,7 +112,9 @@ jobs: - run: git branch -D gh-pages || true - run: git checkout --orphan gh-pages - run: find . -mindepth 1 -maxdepth 1 ! -name 'decoders' ! -name '.git' -exec rm -rf {} + - - run: find . -type f ! \( -iname "*.png" -o -iname "*.svg" \) -exec rm -f {} + + - run: | + find . -type f ! \( -iname "*.png" -o -iname "*.svg" \) -exec rm -f {} + + find . -mindepth 1 -maxdepth 1 -type d ! -name ".git" -exec rm -rf {} + - run: | git config --global user.email "contact@tago.io" git config --global user.name "TagoIO"