Skip to content

Commit f58a1b9

Browse files
Merge pull request #1513 from ojeytonwilliams/feat/schedule-doc-report-action
feat: add doc report scheduled action
2 parents 8771616 + 2b16a35 commit f58a1b9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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/[email protected]
12+
- name: Set up Ruby
13+
uses: ruby/[email protected]
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

0 commit comments

Comments
 (0)