-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b42e1bd
commit 20b38cc
Showing
1 changed file
with
19 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |