Skip to content

update config/deploy.yml #1

update config/deploy.yml

update config/deploy.yml #1

Workflow file for this run

name: docker build and publish
on:
push:
branches:
- main
jobs:
build-and-publish:
name: build and publish
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4.1'
bundler-cache: true
- name: Install Kamal
run: gem install kamal
- name: Deploy with Kamal
env:
KAMAL_REGISTRY_PASSWORD: ${{ secrets.KAMAL_REGISTRY_PASSWORD }}
run: |
kamal deploy