Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore(sf): deploy snowflake in CARTO.CARTO when releasing #536

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading