Skip to content

Commit

Permalink
update deploy yml
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianoEger committed Jun 12, 2024
1 parent 4013400 commit eadee64
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]"
git config --global user.name "TagoIO"
git add -A
git commit -m "decoders assets"
git push origin gh-pages

0 comments on commit eadee64

Please sign in to comment.