Fix git commit command #20
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: | |
generate-doc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- 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: Generate repos markdown file | |
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" |