Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Test pipeline

Test pipeline #1

Workflow file for this run

name: prefect-dev

Check failure on line 1 in .github/workflows/prefect-dev.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/prefect-dev.yaml

Invalid workflow file

`pull-request` is not a valid event name
on:
pull-request:
push:
branches: [ dev ]
jobs:
dev-deployment:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Deploy prefect deployment
env:
PREFECT_API_URL: ${{ secrets.PREFECT_API_URL }}
run: |
python -m pip install --upgrade pip
pip install -r requirements/prefect.txt
pip install -r requirements/prod.txt
prefect config set PREFECT_API_URL=$PREFECT_API_URL
python -m src.deploy_prefect.dev_deployment