Skip to content

fix: repair broken docker compose deploy step #115

fix: repair broken docker compose deploy step

fix: repair broken docker compose deploy step #115

name: Checks
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Lint, test and build the crate
run: nix --print-build-logs build
typos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/[email protected]
deploy:
runs-on: ubuntu-latest
needs: [ build, typos ]
steps:
- uses: actions/checkout@v4
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- uses: hoverkraft-tech/[email protected]
with:
compose-file: "./compose-deploy.yml"
env:
DOCKER_HOST: ${{ secrets.DOCKER_HOST }}
TOKEN_SECRET: ${{ secrets.TOKEN_SECRET }}