Load all vocabs Develop #5
This file contains hidden or 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: Load all vocabs Develop | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| load_all_vocabs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Bring in repo - develop branch | |
| uses: actions/checkout@v1 | |
| with: | |
| ref: develop | |
| - name: Install Python dependencies | |
| run: | | |
| python -m pip install -U pip | |
| pip install -r scripts/requirements.txt | |
| - name: Load all vocabs Develop | |
| env: | |
| DB_USERNAME: ${{secrets.DB_USERNAME}} | |
| DB_PASSWORD: ${{secrets.DB_PASSWORD}} | |
| BASE_DB_URI: ${{vars.BASE_DB_URI_NONPROD}} | |
| run: | | |
| echo 'Run load script...' | |
| python scripts/load_all_vocabs.py |