falconxio/Deploy Apache Airflow DAGs to Astro

Test your DAGs and deploy your Astro project to a Deployment on Astro, Astronomer's managed Airflow service.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Apr 2, 2025
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: falconxio/deploy-action@373dbb3d9e3c97e00a1411ada3eba6a9492c061e # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
root-folderPath to the Astro project, or dbt project for dbt deploys.no""
parseIf true DAGs will be parsed before deploying to Astro.nofalse
pytestif true custom pytests will be ran before deploying to Astro.nofalse
pytest-fileSpecify custom pytest files to run with the pytest command.notests/
forceIf true your code will be force deployed to Astronomer. Mostly used to skip parse test on image deploys.nofalse
image-nameSpecify a custom built image to deploy to an Asto Deployment. To be used with 'deploy-type' set to 'image-and-dags' or 'infer'nono-custom-image
actionSpecify what action you would like to take. Use this option to create or delete deployment previews. Specify either 'deploy', 'create-deployment-preview', 'delete-deployment-preview', or 'deploy-deployment-preview'. If using 'deploy' or 'deploy-deployment-preview' one should also specify 'deploy-type'.nodeploy
deployment-nameThe name of the Deployment you want to make preview from or are deploying to.no
deployment-idThe id of the Deployment you to make a preview from or are deploying to.no
workspaceWorkspace id to select. Only required when `ASTRO_API_TOKEN` is given an organization token.no
preview-nameCustom preview name. By default this is <branch-name>_<deployment-name>.no
copy-connectionsCopy connections from the original Deployment to the new deployment preview.notrue
copy-airflow-variablesCopy Airflow variables from the original Deployment to the new deployment preview.notrue
copy-poolsCopy pools from the original Deployment to the new deployment preview.notrue
cli-versionThe desired Astro CLI version to useno""
checkoutWhether to checkout the repo as the first step. Set this to false if you want to modify repo contents before invoking the actionnotrue
descriptionA description to set for deploying to Astro. This is equivalent to running `astro deploy --description "..."` with the Astro CLI. The description is visible in the Deploy History tab in your Astro Deployment, and can be helpful to explain what triggered a deploy. For example, to display the most recent commit that resulted in an Astro deploy, you could configure `description: "Deployed from commit ..."` with the value of `github.event.after`. This would display e.g. "Deployed from commit da39a3ee5e6b4b0d3255bfef95601890afd80709". Reference: https://docs.github.com/en/webhooks/webhook-events-and-payloads#push. no
deploy-imageIf true image and DAGs will deploy. NOTE: This option is deprecated and will be removed in a future release. Use `deploy-type: image-and-dags` instead.nofalse
deploy-typeSpecify the type of deploy you would like to do. Use this option to deploy only DAGs or the image or DBT project. Specify either 'infer', 'dags-only', 'image-and-dags', or 'dbt'. 'infer' option would infer between DAG only deploy and image and DAG deploy based on updated files.noinfer
build-secretsMimics docker build --secret flag. See https://docs.docker.com/build/building/secrets/ for more information. Example input 'id=mysecret,src=secrets.txt'no
mount-pathPath to mount dbt project in Airflow, for reference by DAGs. Default /usr/local/airflow/dbt/{dbt project name}no""
checkout-submodulesWhether to checkout submodules when cloning the repository: `false` to disable (default), `true` to checkout submodules or `recursive` to recursively checkout submodules. Works only when `checkout` is set to `true`.nofalse
wake-on-deployIf true, the deployment will be woken up from hibernation before deploying. NOTE: This option overrides the deployment's hibernation override spec.nofalse
namedescription
preview-idThe ID of the created deployment preview. Only works when action=create-deployment-preview