-
Notifications
You must be signed in to change notification settings - Fork 144
33 lines (26 loc) · 919 Bytes
/
docs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Docs
on: [push]
# Restrict to one CI run at a time, per branch. In progress runs are *not* cancelled, but pending runs are
# cancelled, except for the most recent: https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
repos.md:
runs-on: ubuntu-latest
steps:
- name: Setup Ruby
# Docs: https://github.com/ruby/setup-ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # Runs bundle install and caches gems
ruby-version: .ruby-version
- name: Checkout code
uses: actions/checkout@v4
- name: Generate repos.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: bin/get_project_data > repos.md
- name: Debug repos.md
run: cat repos.md
- name: Commit repos.md
run: echo "TODO Commit repos.md"