Skip to content

Commit 94532b0

Browse files
authored
chore(sf): deploy snowflake in CARTO.CARTO when releasing (#536)
1 parent a72b208 commit 94532b0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/snowflake.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,39 @@ jobs:
8888
cd clouds/snowflake
8989
make deploy diff="$GIT_DIFF" production=1
9090
91+
deploy-internal-stable:
92+
if: github.ref_name == 'stable'
93+
needs: test
94+
runs-on: ubuntu-20.04
95+
timeout-minutes: 20
96+
strategy:
97+
matrix:
98+
include:
99+
- account: SF_ACCOUNT_CD
100+
database: SF_DATABASE_STABLE_CD
101+
user: SF_USER_CD
102+
password: SF_PASSWORD_CD
103+
role: SF_ROLE_CD
104+
env:
105+
SF_ACCOUNT: ${{ secrets[matrix.account] }}
106+
SF_DATABASE: ${{ secrets[matrix.database] }}
107+
SF_USER: ${{ secrets[matrix.user] }}
108+
SF_PASSWORD: ${{ secrets[matrix.password] }}
109+
SF_ROLE: ${{ secrets[matrix.role] }}
110+
steps:
111+
- name: Checkout repo
112+
uses: actions/checkout@v2
113+
- name: Check diff
114+
uses: technote-space/get-diff-action@v4
115+
- name: Setup node
116+
uses: actions/setup-node@v1
117+
with:
118+
node-version: ${{ env.NODE_VERSION }}
119+
- name: Run deploy
120+
run: |
121+
cd clouds/snowflake
122+
make deploy diff="$GIT_DIFF" production=1
123+
91124
deploy-internal-app:
92125
if: github.ref_name == 'main'
93126
needs: test

0 commit comments

Comments
 (0)