Skip to content

Commit

Permalink
deploy snowflake in core.carto when releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
vdelacruzb committed Nov 4, 2024
1 parent 1ddd3ed commit eb258e1
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/snowflake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,39 @@ jobs:
cd clouds/snowflake
make deploy diff="$GIT_DIFF" production=1
deploy-internal-stable:
if: github.ref_name == 'stable'
needs: test
runs-on: ubuntu-20.04
timeout-minutes: 20
strategy:
matrix:
include:
- account: SF_ACCOUNT_CD
database: SF_DATABASE_STABLE_CD
user: SF_USER_CD
password: SF_PASSWORD_CD
role: SF_ROLE_CD
env:
SF_ACCOUNT: ${{ secrets[matrix.account] }}
SF_DATABASE: ${{ secrets[matrix.database] }}
SF_USER: ${{ secrets[matrix.user] }}
SF_PASSWORD: ${{ secrets[matrix.password] }}
SF_ROLE: ${{ secrets[matrix.role] }}
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Check diff
uses: technote-space/get-diff-action@v4
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- name: Run deploy
run: |
cd clouds/snowflake
make deploy diff="$GIT_DIFF" production=1
deploy-internal-app:
if: github.ref_name == 'main'
needs: test
Expand Down

0 comments on commit eb258e1

Please sign in to comment.