Skip to content

Ticket #45: RSS Feeds im Backoffice #333

Ticket #45: RSS Feeds im Backoffice

Ticket #45: RSS Feeds im Backoffice #333

Workflow file for this run

name: Update CitySDK API documentation
on: [pull_request]
jobs:
update-api:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Prepare Config
run: |
rm config/database.yml
cp config/database.sample.yml config/database.yml
rm config/secrets.yml
cp config/secrets.sample.yml config/secrets.yml
rm config/storage.yml
cp config/storage.sample.yml config/storage.yml
- name: Create CitySDK API documentation
run: bundle exec rails citysdk:apidoc
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update CitySDK API documentation
file_pattern: CitySDK_API.md