Skip to content

Seed Production

Seed Production #12

name: Seed Production
on: workflow_dispatch
jobs:
seed-production:
name: Seed Production
runs-on: ubuntu-20.04
timeout-minutes: 5
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup SSH
uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler: default
bundler-cache: true
- name: Run db:seed on Production
run: bundle exec kamal app exec --reuse "bin/rails db:seed"