Skip to content

Commit 76ec3af

Browse files
🚧 Testing to see if push of test dag works
1 parent b595ff4 commit 76ec3af

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

‎.github/workflows/export-to-airflow.yml‎

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,16 @@ permissions:
1212
contents: read
1313

1414
jobs:
15-
build:
16-
runs-on: include-linux-small
15+
send to airflow s3 bucket:
16+
runs-on: ubuntu-latest
1717

1818
steps:
19-
- uses: actions/checkout@v6
20-
21-
# Runs a single command using the runners shell
22-
- name: list buckets that the runner has access to
23-
run: aws s3 ls
24-
25-
# Runs a single command using the runners shell
26-
- name: list files
27-
run: ls -al
28-
29-
- name: Sync to Airflow S3 Bucket
30-
run: aws s3 sync . s3://include-373997854230-prd-dag-bucket/include/us-east-1/prd/dags --exclude ".git/*" --delete
19+
- name: send repository dispatch
20+
run: |
21+
curl -L \
22+
-X POST \
23+
-H "Accept: application/vnd.github+json" \
24+
-H "Authorization: Bearer <YOUR-TOKEN>" \
25+
-H "X-GitHub-Api-Version: 2022-11-28" \
26+
https://api.github.com/repos/include-dcc/include-dbt-airflow-mirror/dispatches \
27+
-d '{"event_type":"export-to-airflow","client_payload":{"repo": "include-dbt-sandbox", "ref": "'${{ github.ref }}'", "run_id": "'${{ github.run_id }}'"}}'

0 commit comments

Comments
 (0)