provider-names #140
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
name: provider-names | |
on: | |
# Daily | |
schedule: | |
- cron: "54 23 * * *" | |
# Manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE | |
- uses: actions/checkout@v3 | |
- name: run | |
env: | |
MY_GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }} | |
run: | | |
go run ./cmd/axpp/main.go provider-names | |
- name: git diff | |
run: git diff | |
- name: Commit providers.txt | |
run: | | |
git config --global user.name 'Gitub Action' | |
git config --global user.email '[email protected]' | |
git add providers.txt | |
git commit -am "Daily Names Update" | |
git push |