Skip to content

Commit

Permalink
Update schemachange.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
descampschristopher authored Sep 24, 2024
1 parent 7508839 commit ad6acfd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/schemachange.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout repository
uses: actions/checkout@v2
- run: echo " workspace print $GITHUB_WORKSPACE"

- name: Use Python 3.8.x
uses: actions/[email protected]
with:
Expand All @@ -32,12 +32,11 @@ jobs:
SF_ROLE: ${{ secrets.SNOWFLAKE_ROLE }}
SF_WAREHOUSE: ${{ secrets.SNOWFLAKE_WAREHOUSE }}
SF_DATABASE: ${{ secrets.SNOWFLAKE_DATABASE }}
SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}
run: |
echo "GITHUB_WORKSPACE: $GITHUB_WORKSPACE"
SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }
echo "PROJECT_FOLDER $(PROJECT_FOLDER)"
python --version
echo "Step 1: Installing schemachange"
pip install schemachange

echo "Step 2: Running schemachange"
schemachange -f $GITHUB_WORKSPACE/migrations -a $SF_ACCOUNT -u $SF_USERNAME -r $SF_ROLE -w $SF_WAREHOUSE -d $SF_DATABASE -c $SF_DATABASE.SCHEMACHANGE.CHANGE_HISTORY --create-change-history-table
schemachange -f $(PROJECT_FOLDER)/migrations -a $SF_ACCOUNT -u $SF_USERNAME -r $SF_ROLE -w $SF_WAREHOUSE -d $SF_DATABASE -c $SF_DATABASE.SCHEMACHANGE.CHANGE_HISTORY --create-change-history-table

0 comments on commit ad6acfd

Please sign in to comment.