Skip to content

Generate changelog #15808

Generate changelog

Generate changelog #15808

Workflow file for this run

name: Generate changelog
on:
push:
branches:
- new_changelog
schedule:
- cron: '15 * * * *'
workflow_dispatch:
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Create Changelog
run: |
mkdir -p source/weekly/
mkdir -p source/releases/
mkdir -p build/
python git_changelog.py -n 1
make html
env:
AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }}
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages
build_dir: build/html
jekyll: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}