Skip to content

Commit

Permalink
Added script for a plus version of filters
Browse files Browse the repository at this point in the history
  • Loading branch information
Deci8BelioS authored Oct 19, 2024
1 parent 0f61fdb commit 6fb12c0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,19 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Execute script AGH_filters+.py
run: |
cd AGH/
chmod +x AGH_filters+.py
python3 ./AGH_filters+.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Apply changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git add AGH/hosts.txt AGH/filters/whitelist/whitelist.txt
git add AGH/hosts.txt AGH/filters/whitelist/whitelist.txt AGH/AGH_Host+.txt
# Check for changes in the staging area before attempting to commit.
if git diff --cached --quiet; then
echo "There are no changes to the selected files, nothing to do."
Expand Down
Loading

0 comments on commit 6fb12c0

Please sign in to comment.