💬 - Files Synced | Github Action Runner : 46 | Triggered By varunsridharan/.workflows@c283f7118d

This commit is contained in:
Github Actions Workflow Sync Bot 2021-04-30 01:07:05 +00:00
parent d2982f1564
commit 8660121457

59
.github/workflows/dynamic-readme.yml vendored Normal file
View File

@ -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 " "