Skip to content

Commit c89e48a

Browse files
committed
Update readme
1 parent abee612 commit c89e48a

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

README.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ name: Run Elementary
6767
on:
6868
# Run the action when a push to the main branch of the repository is made.
6969
push:
70-
branches: ["main", "master"]
70+
branches: [ "main", "master" ]
7171
7272
# Run the action when a pull request to the main branch is opened.
7373
pull_request:
74-
branches: ["main", "master"]
74+
branches: [ "main", "master" ]
7575
7676
# Run the action in a scheduled manner every hour.
7777
schedule:
78-
- cron: "0 * * * *"
78+
- cron: '0 * * * *'
7979
8080
# Allows you to run this workflow manually from the Actions tab.
8181
workflow_dispatch:
@@ -91,24 +91,25 @@ jobs:
9191
uses: elementary-data/[email protected]
9292
with:
9393
warehouse-type: bigquery # Type of warehouse to use (bigquery, snowflake, redshift, etc.)
94-
adapter-version: 1.5.0 # The dbt-adapter version that should be used (If not provided the latest version will be used).
94+
adapter-version: 1.5.0 # The dbt-adapter version that should be used (If not provided the latest version will be used).
9595
profiles-yml: ${{ secrets.ELEMENTARY_PROFILES_YML }} # Content of ~/.dbt/profiles.yml, should have an `elementary` profile.
96-
edr-command: edr monitor
97-
--slack-token "${{ secrets.SLACK_TOKEN }}"
98-
--slack-channel-name "${{ secrets.SLACK_CHANNEL_NAME }}"
96+
edr-command:
97+
edr monitor
98+
--slack-token "${{ secrets.SLACK_TOKEN }}"
99+
--slack-channel-name "${{ secrets.SLACK_CHANNEL_NAME }}"
99100
&&
100101
edr report
101-
--file-path "report.html"
102+
--file-path "report.html"
102103
&&
103104
edr send-report
104-
--slack-token "${{ secrets.SLACK_TOKEN }}"
105-
--slack-channel-name "${{ secrets.SLACK_CHANNEL_NAME }}"
106-
--aws-access-key-id "${{ secrets.AWS_ACCESS_KEY_ID }}"
107-
--aws-secret-access-key "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
108-
--s3-bucket-name "${{ secrets.S3_BUCKET_NAME }}"
109-
--google-service-account-path "/tmp/gcs_keyfile.json"
110-
--gcs-bucket-name "${{ secrets.GCS_BUCKET_NAME }}"
111-
--update-bucket-website "true"
105+
--slack-token "${{ secrets.SLACK_TOKEN }}"
106+
--slack-channel-name "${{ secrets.SLACK_CHANNEL_NAME }}"
107+
--aws-access-key-id "${{ secrets.AWS_ACCESS_KEY_ID }}"
108+
--aws-secret-access-key "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
109+
--s3-bucket-name "${{ secrets.S3_BUCKET_NAME }}"
110+
--google-service-account-path "/tmp/gcs_keyfile.json"
111+
--gcs-bucket-name "${{ secrets.GCS_BUCKET_NAME }}"
112+
--update-bucket-website "true"
112113

113114
bigquery-keyfile: ${{ secrets.BIGQUERY_KEYFILE }} # If using BigQuery, the content of its keyfile.
114115
gcs-keyfile: ${{ secrets.GCS_KEYFILE }} # If using GCS, the content of its keyfile.

0 commit comments

Comments
 (0)