Unified · Split
| @@ -0,0 +1,17 @@ | |||
| 1 | name: Generate documentation versions report | ||
| 2 | on: | ||
| 3 | schedule: | ||
| 4 | - cron: '17 4 1 * *' | ||
| 5 | |||
| 6 | jobs: | ||
| 7 | report: | ||
| 8 | runs-on: ubuntu-20.04 | ||
| 9 | if: github.repository == 'freeCodeCamp/devdocs' | ||
| 10 | steps: | ||
| 11 | - uses: actions/checkout@v2.3.4 | ||
| 12 | - name: Set up Ruby | ||
| 13 | uses: ruby/setup-ruby@v1.66.1 | ||
| 14 | with: | ||
| 15 | bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
| 16 | - name: Generate report | ||
| 17 | run: bundle exec thor updates:check --github-token ${{ secrets.DEVDOCS_BOT_PAT }} --upload | ||