Skip to content

Commit 2b16a35

Browse files
feat: add doc report sheduled action
1 parent d63d2ff commit 2b16a35

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)