Skip to content

genSite

genSite #307

Workflow file for this run

name: genSite
on:
schedule:
- cron: '30 5 * * *' # Runs at 5:30 UTC, which is 10:30 AM IST
# push:
# branches: [ main ]
jobs:
import_export:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8' # specify your Python version
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Setup import
run: make import
- name: checkout mahGRs
uses: actions/checkout@v4
with:
repository: orgpedia/mahGRs
path: import/
sparse-checkout-cone-mode: false
sparse-checkout: GRs/*
- name: Install dependencies
run: make install
- name: Generate site
run: make flow
- name: Commit and push changes
id: commit-and-push
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: actions export