You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
653 B

  1. jobs:
  2. build:
  3. runs-on: ubuntu-latest
  4. steps:
  5. - uses: actions/checkout@master
  6. - name: Build the data and create local changes
  7. uses: actions/setup-python@v1
  8. with:
  9. python-version: '3.6.10'
  10. architecture: x64
  11. - run: |
  12. pip install -r requirements.txt
  13. python process.py
  14. - name: Commit files
  15. run: |
  16. git config --local user.email "action@github.com"
  17. git config --local user.name "GitHub Action"
  18. git commit -m "Daily auto-update of the data" -a
  19. - name: Push changes
  20. uses: ad-m/github-push-action@master
  21. with:
  22. github_token: ${{ secrets.gh }}