name: "Build Prefect deployment and associated Docker image from a flow"
on:
workflow_dispatch: # manually
push: # or on push to these branches
branches:
- "main"
- "dev"
env:
FLOWNAME: marvin
DEPLOYMENT_NAME: hello-marvin
IMAGE: ${{secrets.IMAGE_REGISTRY_SLASH_IMAGE_REPO}}:latest
DEPLOYMENTYAML: ./marvin.yaml
PREFECT_API_KEY: ${{ secrets.PREFECT_API_KEY }}
PREFECT_API_URL: ${{ secrets.PREFECT_API_URL }}
FILESYSTEM_EXTRAS: s3fs
jobs:
build:
runs-on: ubuntu-latest
This file has been truncated. show original