Skip to content

Bump rails from b897b4c to 8d778e0 (#289) #156

Bump rails from b897b4c to 8d778e0 (#289)

Bump rails from b897b4c to 8d778e0 (#289) #156

Workflow file for this run

name: CD
on:
push:
branches: [main]
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Configure SSH
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
known_hosts: ${{ vars.KNOWN_HOSTS }}
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Setup Docker
uses: docker/setup-buildx-action@v2
- uses: crazy-max/ghaction-github-runtime@v2
- name: Deploy to production!
run: bundle exec kamal deploy
env:
KAMAL_REGISTRY_USERNAME: ${{ github.actor }}
KAMAL_REGISTRY_PASSWORD: ${{ github.token }}
RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
REDIS_URL: ${{ secrets.REDIS_URL }}
APP_REVISION: ${{ github.sha }}