Bump puma from 6.4.2 to 6.4.3 (#524) #296
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: 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@v4 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Setup Docker | |
uses: docker/setup-buildx-action@v3 | |
- uses: crazy-max/ghaction-github-runtime@v3 | |
- name: Get credentials from Heroku | |
env: | |
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} | |
run: | | |
curl https://cli-assets.heroku.com/install-ubuntu.sh | sudo sh | |
REDIS_URL=$(heroku config:get REDIS_URL -a hackathons) | |
echo "REDIS_URL=${REDIS_URL}" >> $GITHUB_ENV | |
- 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 }} |