Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
boluomimohesa committed Dec 31, 2023
1 parent 7181433 commit 233da18
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ToDomain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ on:
permissions:
contents: write

env:
filterDomain: grep -E "^( - DOMAIN,| - DOMAIN-SUFFIX,)" | sed "s/^ - DOMAIN,//g" | sed "s/^ - DOMAIN-SUFFIX,/+./g"
filterList: grep -E "^(DOMAIN,|DOMAIN-SUFFIX)" | sed "s/^DOMAIN,//g" | sed "s/^DOMAIN-SUFFIX,/+./g"

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -78,6 +74,8 @@ jobs:
cd ../ && rm -rf community
- name: Community To Domain
env:
filterDomain: grep -E "^(domain|full)" | sed "s/domain:/+./g" | sed "s/full://g" | sort --ignore-case -u
run: |
cd data-list || exit 1
cat category-dev.txt | ${{ env.filterDomain }} > ../publish/category-dev.txt
Expand Down

0 comments on commit 233da18

Please sign in to comment.