Skip to content

Commit

Permalink
Add README generation
Browse files Browse the repository at this point in the history
  • Loading branch information
frasdav committed Jan 4, 2024
1 parent 3f2e3f9 commit 5fe3c20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
- name: Commit, push and create pull request
uses: peter-evans/create-pull-request@v5
with:
body:
branch: bot/update-readme
commit-message: Update README [skip ci]
title: Update README
# token: ${{ secrets.BUILD_BOT_PAT }}
token: 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
token: ${{ secrets.BUILD_BOT_PAT }}
6 changes: 2 additions & 4 deletions README.rst.j2
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,16 @@ Modules
-------

.. list-table::
:widths: 25 25 50 25
:widths: 25 25 50
:header-rows: 1

* - Module name
- Latest version
- Source URL
- Links
{%- for module in modules %}
* - `{{ module.name }} <https://github.com/gofrontier-com/azurerm-terraform-modules/tree/main/modules/{{ module.name }}>`__
- {{ module.version }}
- `{{ module.version }} <https://github.com/gofrontier-com/azurerm-terraform-modules/releases/tag/{{ module.name }}%2F{{ module.version }}>`__
- ``https://github.com/gofrontier-com/azurerm-terraform-modules/releases/download/{{ module.name }}/{{ module.version }}/module.tar.gz//src``
- `Code <https://github.com/gofrontier-com/azurerm-terraform-modules/tree/main/modules/{{ module.name }}>`__ `Release <https://github.com/gofrontier-com/azurerm-terraform-modules/releases/tag/{{ module.name }}%2F{{ module.version }}>`__
{%- endfor %}

------------
Expand Down

0 comments on commit 5fe3c20

Please sign in to comment.