Skip to content

Merge pull request #482 from opengisch/fix-ci #197

Merge pull request #482 from opengisch/fix-ci

Merge pull request #482 from opengisch/fix-ci #197

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