migration gamersclub from bronze to silver #106
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: sync_databricks_workflows | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
sync_jobs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Instalando Requeriments | |
working-directory: src/06.workflows | |
run: pip install -r requirements.txt | |
- name: Sync dos Jobs | |
env: | |
DATABRICKS_WORKSPACE_URL: ${{ secrets.DATABRICKS_WORKSPACE_URL }} | |
DATABRICKS_WORKSPACE_TOKEN: ${{ secrets.DATABRICKS_WORKSPACE_TOKEN }} | |
working-directory: src/06.workflows | |
run: python sync_jobs.py |