diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 33c22f3..35f5900 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -130,3 +130,10 @@ jobs: -T 'Argus Python Documentation versions' \ -s -D \ -o index.html + git config user.name github-actions + git config user.email github-actions@github.com + git add . + if [[ ! $(git diff --quiet) ]]; then + git commit -m "update index.html" + git push + fi diff --git a/docs/_static/versions.json b/docs/_static/versions.json index 0327276..7cc47e0 100644 --- a/docs/_static/versions.json +++ b/docs/_static/versions.json @@ -1,11 +1,15 @@ [ - { - "name": "dev", - "version": "dev", - "url": "https://anand-bala.github.io/argus/dev/" - }, - { - "version": "v0.1.1", - "url": "https://anand-bala.github.io/argus/v0.1.1/" - }, + { + "name": "dev", + "version": "dev", + "url": "https://anand-bala.github.io/argus/dev/" + }, + { + "version": "v0.1.1", + "url": "https://anand-bala.github.io/argus/v0.1.1/" + }, + { + "version": "v0.1.2", + "url": "https://anand-bala.github.io/argus/v0.1.2/" + } ]