chore: update dockerfile-rails #570
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: Track codebase stats | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
cherry_push: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Setup ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Install dependencies | |
run: | | |
npm ci | |
npm i -g cherrypush | |
- name: Push metrics to Cherry | |
run: cherry push --quiet --api-key=${{ secrets.CHERRY_API_KEY }} |