Skip to content

chore: use the real ip #2

chore: use the real ip

chore: use the real ip #2

Workflow file for this run

name: Deploy instance
on:
push:
branches:
- kamal
jobs:
deploy:
runs-on: ubuntu-latest
env:
SECRET_MASTER_KEY: ${{ secrets.SECRET_MASTER_KEY }}
SECRET_JWT_SECRET: ${{ secrets.SECRET_JWT_SECRET }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.0
bundler-cache: true
- run: gem install kamal
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- uses: docker/setup-buildx-action@v3
- run: kamal lock release
- run: kamal deploy