Skip to content

Commit

Permalink
💬 - Files Synced | Github Action Runner : 45 | ⚡ Triggered By varunsr…
Browse files Browse the repository at this point in the history
…idharan/.workflows@d57413f8a249f755f5a2f4915d22049744ca419b
  • Loading branch information
Github Actions Workflow Sync Bot committed Apr 11, 2021
1 parent 958d6c9 commit e922dab
Showing 1 changed file with 59 additions and 0 deletions.
59 changes: 59 additions & 0 deletions .github/workflows/dynamic-readme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: "đź“„ Dynamic ReadME"

env:
VS_WORKFLOW_TYPE: "dynamic-readme"

on:
workflow_dispatch:
push:
branches:
- main
paths:
- README.md

jobs:
update_readme:
name: "Render & Update ReadME"
runs-on: ubuntu-latest
steps:
- name: "đź“Ą Fetching Repository Contents"
uses: actions/checkout@main

- name: "đź’ľ Github Repository Metadata"
uses: varunsridharan/action-repository-meta@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: "đź’« VS Utility"
uses: varunsridharan/action-vs-utility@main

- name: "⚡ Repository - Before Hook"
run: |
echo " "
if [ -f $VS_BEFORE_HOOK_FILE_LOCATION ]; then
echo "âś… Before Hook File Found : $VS_BEFORE_HOOK_FILE_LOCATION"
sh $VS_BEFORE_HOOK_FILE_LOCATION
else
echo "⚠️ No Before Hook File Found : $VS_BEFORE_HOOK_FILE_LOCATION"
fi
echo " "
- name: "đź’« Update README.md"
uses: "varunsridharan/action-dynamic-readme@main"
with:
GLOBAL_TEMPLATE_REPOSITORY: varunsridharan/varunsridharan@main/readme-templates
files: |
README.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: "⚡ Repository - After Hook"
run: |
echo " "
if [ -f $VS_AFTER_HOOK_FILE_LOCATION ]; then
echo "âś… After Hook File Found : $VS_AFTER_HOOK_FILE_LOCATION"
sh $VS_AFTER_HOOK_FILE_LOCATION
else
echo "⚠️ No After Hook File Found : $VS_AFTER_HOOK_FILE_LOCATION"
fi
echo " "

0 comments on commit e922dab

Please sign in to comment.