schedule-doc-report.yml 604 B

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