Skip to content

Commit

Permalink
Merge pull request #95 from atlanhq/feat/environment-mapping
Browse files Browse the repository at this point in the history
staging: feat/environment mapping
  • Loading branch information
Jaagrav authored May 12, 2023
2 parents 7773a34 + 62c782c commit 12c5a95
Show file tree
Hide file tree
Showing 8 changed files with 3,792 additions and 4,265 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/package-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- staging
- beta

jobs:
package-action:
Expand All @@ -24,4 +25,4 @@ jobs:
git config --global user.name "GitHub Actions"
git add .
git commit -m "chore: Update dist" || echo "No changes to commit"
git push origin HEAD:staging
git push
6 changes: 5 additions & 1 deletion .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@ jobs:
with:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
ATLAN_INSTANCE_URL: ${{secrets.ATLAN_INSTANCE_URL}}
ATLAN_API_TOKEN: ${{secrets.ATLAN_API_TOKEN}}
ATLAN_API_TOKEN: ${{secrets.ATLAN_API_TOKEN}}
DBT_ENVIRONMENT_BRANCH_MAP: |
main: DBT-DEMO-PROD
beta: Wide World Importers PE1
test-action: Wide World Importers PE1
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ inputs:
ATLAN_INSTANCE_URL:
description: "Atlan instance URL"
required: true
DBT_ENVIRONMENT_BRANCH_MAP:
description: "List of environments"
required: false

runs:
using: "node16"
Expand Down
Loading

0 comments on commit 12c5a95

Please sign in to comment.