Skip to content

Commit

Permalink
update ci pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazelmat committed Feb 7, 2024
1 parent 9ced409 commit fb7e705
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/deploy-to-astro.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
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: ${{ vars.DEPLOYMENT_ID }}
ASTRO_API_TOKEN: ${{ inputs.apiToken || secrets.ASTRO_API_TOKEN }}
DEPLOYMENT_ID: ${{ inputs.deploymentId || vars.DEPLOYMENT_ID }}

jobs:
build:
Expand Down

0 comments on commit fb7e705

Please sign in to comment.