Skip to content

Merge pull request #58 from idkbrowby/pre-commit-ci-update-config #47

Merge pull request #58 from idkbrowby/pre-commit-ci-update-config

Merge pull request #58 from idkbrowby/pre-commit-ci-update-config #47

Workflow file for this run

name: CI / CD
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
test:
uses: ./.github/workflows/integration-tests.yml
build-and-push:
if: github.ref == 'refs/heads/main'
needs: test
permissions:
contents: read
packages: write
uses: ./.github/workflows/build-and-publish.yml
with:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
deploy:
if: github.ref == 'refs/heads/main'
needs: build-and-push
uses: ./.github/workflows/deploy.yml
secrets: inherit