Skip to content

Commit

Permalink
Updated fields to enforce type and added workflow to deploy to cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsunny1996 committed Apr 28, 2024
1 parent 8eb830e commit f78a7f4
Show file tree
Hide file tree
Showing 5 changed files with 312 additions and 102 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/deploy_to_astro_cloud.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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]
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
FROM quay.io/astronomer/astro-runtime:10.6.0
FROM quay.io/astronomer/astro-runtime:10.8.0
ENV AIRFLOW__CORE__TEST_CONNECTION=Enabled
Loading

0 comments on commit f78a7f4

Please sign in to comment.