commit 782cfd52cec16b89c2961ea4f0d6c7b604f546d9
parent 730894b7b995c4c829c7fcb87af17c49f28a938d
Author: Amit Dutta <amitdutta4255@gmail.com>
Date: Sat, 20 Jun 2026 21:35:11 +0530
version file
Diffstat:
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
@@ -70,6 +70,24 @@ jobs:
run: |
python list.py
python md.py
+
+ - name: Generate version file
+ run: |
+ cat > docs/version.md << EOF
+ ---
+ title: '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="display:inline; margin-bottom:-2px; margin-right:6px;" class="lucide lucide-history"><path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"/><path d="M3 3v5h5"/><path d="M12 7v5l4 2"/></svg> Version'
+ description: 'Current build information.'
+ ---
+
+ # Build Info
+
+ | | |
+ |---|---|
+ | **Build ID** | \`${{ github.sha }}\` |
+ | **Triggered by** | ${{ github.actor }} |
+ | **Branch** | ${{ github.ref_name }} |
+ | **Build time** | ${{ github.event.head_commit.timestamp }} |
+ EOF
- name: Setup Node.js
uses: actions/setup-node@v4
diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts
@@ -59,8 +59,8 @@ const vitePressConfig = {
{ text: 'Semester 8', link: '/semester_8/' },
]
},
- { text: 'Repository', link: 'https://github.com/notamitgamer/bsc' },
{ text: 'License', link: 'https://github.com/notamitgamer/bsc/blob/main/LICENSE'},
+ { text: 'Version', link: '/version' },
],
socialLinks: [