Sketch out GH workflow for generating repos.md #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
Check failure on line 11 in .github/workflows/docs.yml GitHub Actions / DocsInvalid workflow file
|
||
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" |