Skip to content

Commit

Permalink
GHA to copy table_definitions to evmchain-etl
Browse files Browse the repository at this point in the history
  • Loading branch information
kome12 committed Apr 12, 2024
1 parent 8433547 commit 92bc2cc
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/cicd-copy-to-evmchain.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Copy Table Definitions to evmchain
on:
push:
branches: [main]

jobs:
upload-to-gcs:
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Authenticate with Google Cloud
uses: google-github-actions/auth@v2
with:
workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ secrets.SERVICE_ACCOUNT }}

- name: Upload to GCS
run: |
gsutil cp -r ./airflow/dags/resources/stages/parse/table_definitions/ gs://nansen-blockchain-etl-prod/us-central1-evmchain-etl-pr-9f8a234b-bucket/dags/resources/stages/parse/table_definitions_polygon/

0 comments on commit 92bc2cc

Please sign in to comment.