Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Apr 1, 2024
1 parent 20f0124 commit bb6728a
Show file tree
Hide file tree
Showing 6 changed files with 128 additions and 115 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: |
wget -qO - 'https://tranco-list.eu/top-1m.csv.zip' | gunzip - > toplist.tmp
awk -F ',' '{print $2}' toplist.tmp > data/toplist.txt
bash functions/tools.sh "format" "data/toplist.txt"
bash functions/tools.sh format data/toplist.txt
rm toplist.tmp
- name: Push
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/retrieve_domains.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:

- name: retrieve_domains.sh
env:
google_search_id: ${{ secrets.SEARCH_ID }}
google_search_id_2: ${{ secrets.SEARCH_ID2 }}
google_search_api_key: ${{ secrets.SEARCH_API_KEY }}
google_search_api_key_2: ${{ secrets.SEARCH_API_KEY2 }}
aa419_api_id: ${{ secrets.AA419_API_ID }}
GOOGLE_SEARCH_ID: ${{ secrets.SEARCH_ID }}
GOOGLE_SEARCH_ID_2: ${{ secrets.SEARCH_ID2 }}
GOOGLE_SEARCH_API_KEY: ${{ secrets.SEARCH_API_KEY }}
GOOGLE_SEARCH_API_KEY_2: ${{ secrets.SEARCH_API_KEY2 }}
AA419_API_ID: ${{ secrets.AA419_API_ID }}
run: bash functions/retrieve_domains.sh

- name: Push
Expand All @@ -30,5 +30,6 @@ jobs:
git config user.email ${{ vars.GIT_EMAIL }}
git config user.name ${{ vars.GIT_USERNAME }}
git add .
git diff-index --quiet HEAD || git commit -m "Retrieve domains" # Note commit -am does not commit the pending directory
# Note commit -am does not commit the pending directory
git diff-index --quiet HEAD || git commit -m "Retrieve domains"
git push -q
Loading

0 comments on commit bb6728a

Please sign in to comment.