Skip to content

provider-names

provider-names #154

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 'Gitub-Action@users.noreply.github.com'
git add providers.txt
git commit -am "Daily Names Update"
git push