Skip to content

Commit

Permalink
fix: revert deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfg committed Mar 27, 2024
1 parent 5161210 commit 82740b3
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/elementary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Deploy Elementary Report
on:
pull_request:
branches: [ "main", "master" ]
workflow_dispatch:
jobs:
elementary:
runs-on: ubuntu-latest
steps:
- name: Checkout dbt project
uses: actions/checkout@v3
- name: Run Elementary
uses: elementary-data/[email protected]
with:
warehouse-type: bigquery
adapter-version: 1.5.6
profiles-yml: ${{ secrets.ELEMENTARY_PROFILES_YML }}
edr-command:
edr report
--file-path "report.html"
&&
edr send-report
--google-service-account-path "/tmp/gcs_keyfile.json"
--gcs-bucket-name "${{ secrets.GCS_BUCKET_NAME }}"
--update-bucket-website "true"
bigquery-keyfile: ${{ secrets.BIGQUERY_KEYFILE }}
gcs-keyfile: ${{ secrets.GCS_KEYFILE }}
- name: Upload report
uses: actions/upload-artifact@v3
with:
name: report.html
path: report.html
- name: Upload log
if: always()
uses: actions/upload-artifact@v3
with:
name: edr.log
path: edr.log

0 comments on commit 82740b3

Please sign in to comment.