1
0

schedule-doc-report.yml 625 B

123456789101112131415161718
  1. name: Generate documentation versions report
  2. on:
  3. schedule:
  4. - cron: '17 4 1 * *'
  5. workflow_dispatch:
  6. jobs:
  7. report:
  8. runs-on: ubuntu-20.04
  9. if: github.repository == 'freeCodeCamp/devdocs'
  10. steps:
  11. - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
  12. - name: Set up Ruby
  13. uses: ruby/setup-ruby@22fdc77bf4148f810455b226c90fb81b5cbc00a7 # v1.171.0
  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