Skip to content

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

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

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

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