Merge pull request #370 from opengisch/projects-language #109
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: Update Zoho | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install Python requirements | |
run: pip install -r requirements.txt | |
- name: Install dependencies | |
env: | |
MKDOCS_INSIDERS_TOKEN: ${{ secrets.MKDOCS_INSIDERS_TOKEN }} | |
run: | | |
pip install -r requirements.txt | |
pip install -r requirements-insiders.txt | |
- name: Generate Zoho authentication credentials and update Zoho | |
env: | |
IS_PR: ${{ github.event_name == 'pull_request' }} | |
ZOHO_CONFIG_ID: ${{ secrets.ZOHO_CONFIG_ID }} | |
ZOHO_CONFIG_SECRET: ${{ secrets.ZOHO_CONFIG_SECRET }} | |
ZOHO_CONFIG_CODE: ${{ secrets.ZOHO_CONFIG_CODE }} | |
ZOHO_REFRESH_TOKEN: ${{ secrets.ZOHO_REFRESH_TOKEN }} | |
run: | | |
python ./utils/push_to_zoho.py |