.github/workflows/download.yml #85
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '50 3 * * *' | |
jobs: | |
download: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
git config user.name 'dciancu' | |
git config user.email 'dciancu@users.noreply.github.com' | |
git branch download | |
git checkout download | |
rm lists/.gitignore | |
sudo apt-get install -y whois | |
bash download.sh | |
git add -A | |
git commit -m 'update lists' | |
git push --force -u origin download |