From eadee64efa1c132f73d1a4ee83aed0f67e711e42 Mon Sep 17 00:00:00 2001 From: Fabiano Eger Date: Wed, 12 Jun 2024 14:38:11 -0300 Subject: [PATCH] update deploy yml --- .github/workflows/deploy.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 30998d17..bd68ac6f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -103,3 +103,18 @@ jobs: asset_path: ./data/decoders.db asset_name: decoders.db asset_content_type: application/octet-stream + assets: + runs-on: ubuntu-latest + needs: release + steps: + - run: git branch -D gh-pages + - 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: | + git config --global user.email "contact@tago.io" + git config --global user.name "TagoIO" + git add -A + git commit -m "decoders assets" + git push origin gh-pages +