History

feat: add doc report sheduled action

Oliver Eyton-Williams committed 5 years ago

Commit 2b16a351 parent d63d2ff1 file · +17 −0Browse files

Unified · Split

.github/workflows/schedule-doc-report.yml+17−0
@@ -0,0 +1,17 @@
1name: Generate documentation versions report
2on:
3 schedule:
4 - cron: '17 4 1 * *'
5
6jobs:
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