Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/workflows/deploy-to-astro.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Astronomer CI - Deploy code
name: Astronomer CI - Deploy Code

on:
workflow_dispatch:
Expand All @@ -23,5 +23,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Deploy to Astro
uses: astronomer/deploy-action@v0.4
# Ensure compatibility with Node.js 20
- name: Setup Node.js 20
uses: actions/setup-node@v3
with:
node-version: '20'

# Deploy to Astro
- name: Deploy to Astro
uses: astronomer/deploy-action@v0.4
env:
ASTRO_API_TOKEN: ${{ env.ASTRO_API_TOKEN }}
DEPLOYMENT_ID: ${{ env.DEPLOYMENT_ID }}