Skip to content

Merge pull request #496 from opengisch/caption_cleanup #209

Merge pull request #496 from opengisch/caption_cleanup

Merge pull request #496 from opengisch/caption_cleanup #209

Workflow file for this run

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