-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix logic cli install logic and add log grouping
- Loading branch information
1 parent
05df519
commit 1b28ccb
Showing
2 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -282,6 +282,33 @@ jobs: | |
deployment-id: <orginal deployment id> | ||
``` | ||
|
||
## DBT Deploy to Deployment Preview | ||
|
||
```yaml | ||
name: Astronomer - DBT Deploy code to Preview | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
env: | ||
## Sets Deployment API key credentials as environment variables | ||
ASTRO_API_TOKEN: ${{ secrets.ASTRO_API_TOKEN }} | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Deploy to Deployment Preview | ||
uses: astronomer/[email protected] | ||
with: | ||
action: dbt-deploy-deployment-preview | ||
deployment-id: <orginal deployment id> | ||
root-folder: dbt/ | ||
mount-path: /dbt | ||
``` | ||
|
||
## Delete Deployment Preview | ||
|
||
```yaml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters