Skip to content

Astronomer CI - Deploy code #6

Astronomer CI - Deploy code

Astronomer CI - Deploy code #6

name: Astronomer CI - Deploy code
on:
workflow_dispatch:
# inputs:
# deploymentId:
# description: "Deployment ID"
# required: true
# type: string
# apiToken:
# description: "Astro API Token"
# required: true
# type: string
push:
branches:
- main
env:
ASTRO_API_TOKEN: ${{ secrets.ASTRO_API_TOKEN }}
DEPLOYMENT_ID: ${{ secrets.DEPLOYMENT_ID }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Deploy to Astro
uses: astronomer/[email protected]