Skip to content

Commit

Permalink
updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
spirillen committed Oct 15, 2023
1 parent 13c944a commit c668a90
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
push:
branches:
- 'master'
schedule:
- cron: '10 * * * *'
# schedule:
# - cron: '10 * * * *'

env:
GIT_NAME: '${{ secrets.GIT_NAME }}'
Expand Down Expand Up @@ -52,16 +52,16 @@ jobs:
find "${{ github.workspace }}/source/" -type f -name '*.rpz-nsdname' \
-exec bash -c "sort -i -u -f '{}' -o '{}' " \;
# - name: 'Combine domain and wildcard domains for external usages'
# run: |
# cd "${{ github.workspace }}"
# find "${{ github.workspace }}/source/" -type f -name 'combined.txt' \
# -delete

# for d in `find source/ -mindepth 1 -maxdepth 1 -type d`
# do
# cat ${d[@]}/*.list > ${d[@]}/combined.txt
# done
- name: 'Combine domain and wildcard domains for external usages'
run: |
cd "${{ github.workspace }}"
find "${{ github.workspace }}/source/" -type f -name 'combined.txt' \
-delete
for d in `find source/ -mindepth 1 -maxdepth 1 -type d`
do
cat ${d[@]}/*.list > ${d[@]}/combined.txt
done
# - name: 'Import latest working example of safe search from safesearch.mypdns.cloud'
# run: |
Expand Down

0 comments on commit c668a90

Please sign in to comment.