autorev #39
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: autorev | |
on: | |
schedule: | |
- cron: "0 11 * * 3" # 11am UTC every Wednesday | |
jobs: | |
autorev: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.6 | |
- run: gem install bundler | |
- run: bundle install --jobs 4 --retry 3 | |
- run: git config user.email "[email protected]" | |
- run: git config user.name "GitHub Actions" | |
- run: echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token | |
- run: bundle exec rake data:autorev |