dlc.yml 722 B

12345678910111213141516171819202122232425262728
  1. name: Update dlc
  2. on:
  3. schedule:
  4. - cron: '0 0 * * FRI'
  5. jobs:
  6. build:
  7. name: Update
  8. runs-on: ubuntu-latest
  9. steps:
  10. - name: Check out code into the Go module directory
  11. uses: actions/checkout@v2
  12. - name: Download and Write
  13. run: |
  14. curl -L -o release/config/geoip.dat "https://github.com/v2ray/geoip/raw/release/geoip.dat"
  15. curl -L -o release/config/geosite.dat "https://github.com/v2ray/domain-list-community/raw/release/dlc.dat"
  16. - name: push
  17. run: |
  18. git config --local user.email "action@github.com"
  19. git config --local user.name "GitHub Action"
  20. git commit -am "update geoip, geosite" -a
  21. git push -v --progress