Skip to content

Commit

Permalink
Update dynamic_readme.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerh2001 authored Oct 1, 2023
1 parent b42e1bd commit 20b38cc
Showing 1 changed file with 19 additions and 14 deletions.
33 changes: 19 additions & 14 deletions .github/workflows/dynamic_readme.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
name: Dynamic README Generation
name: Dynamic Template

on:
push:
branches:
- main # adjust this if your primary branch has a different name
- main
workflow_dispatch:

jobs:
generate-readme:
update_templates:
name: "Update Templates"
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: "📥 Fetching Repository Contents"
uses: actions/checkout@main

- name: "💾 Github Repository Metadata"
uses: varunsridharan/action-repository-meta@main
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Generate Dynamic README
uses: varunsridharan/action-dynamic-readme@main
with:
files: |
.templates/README.md=README.md
confirm_and_push: true
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
- name: "💫 Dynamic Template Render"
uses: varunsridharan/action-dynamic-readme@main
with:
files: |
.templates/README.md=README.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 20b38cc

Please sign in to comment.