Hi, I'm running into an issue trying to deploy Pre...
# prefect-cloud
m
Hi, I'm running into an issue trying to deploy Prefect flows via Github Actions using
actions-prefect-deploy@v3
. When I try to run that command locally, I have no issues with using the
--prefect-file
flag. Would appreciate any assistance thank you!
j
Hi @Moxit - can you share your workflow file?
m
j
for reference, it should look something like this:
Copy code
- name: Deploy my-flow
  uses: PrefectHQ/actions-prefect-deploy@v3
  with:
    deployment-file-path: ./deployments/my-deployment/prefect.yaml
    deployment-names: My Flow
m
I had it as
prefect-file
insead of
deployment-file-path
as shown on this readme: https://github.com/PrefectHQ/actions-prefect-deploy
j
good call - ill update the readme now!
thanks for raising!!
m
I'm seeing the same error still
Copy code
- name: Run Prefect Deploy
        uses: PrefectHQ/actions-prefect-deploy@v3
        with:
          deployment-names: test-normalization-worker
          requirements-file-paths: flows/normalization/requirements.txt
          deployment-file-path: prefect.yaml
Looks like the --prefect-file is in the command it is trying to run
j
where are you running this?
can you share the prefect version?