README बिल्डर
असली प्रोफ़ाइल से प्रेरित टेम्पलेट से शुरू करें, सेक्शन चालू-बंद करें और तीन फ़ाइलें कॉपी करें। प्रीव्यू डेमो डेटा पर चलने वाला असली इंजन है।
प्रीव्यू
Hi, I'm octocat 👋
I write code and share it here.
Tech stack
Contacts
फ़ाइलें
अपनी प्रोफ़ाइल रिपॉज़िटरी (<login>/<login>) के README में पेस्ट करें। मार्करों की वजह से profile-graphics readme --update सिर्फ़ यही हिस्सा रीफ़्रेश करता है।
README.md
<!-- profile-graphics:start -->
## Hi, I'm octocat 👋
I write code and share it here.
## Tech stack
<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/octocat/octocat/output/stack-dark.svg"><img src="https://raw.githubusercontent.com/octocat/octocat/output/stack-light.svg" alt="Stack" width="100%"></picture></p>
## Contacts
<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/octocat/octocat/output/contacts-dark.svg"><img src="https://raw.githubusercontent.com/octocat/octocat/output/contacts-light.svg" alt="Contacts" width="100%"></picture></p>
<!-- profile-graphics:end -->
उसी रिपॉज़िटरी में profile-graphics.yml के रूप में सेव करें और नाम, प्रोजेक्ट और संपर्क बदलें।
profile-graphics.yml
version: 2
provider:
type: github
user: octocat
theme:
dark_mode_pair: true
style:
preset: minimal
charts:
- card: stack
id: stack
layout: badges
groups:
Languages:
- python
- cpp
- bash
Data and tools:
- postgresql
- git
- docker
- card: links
id: contacts
contacts:
- github: octocat
.github/workflows/profile-graphics.yml के रूप में सेव करें। यह हर दिन कार्ड रेंडर करता है और उन्हें output ब्रांच पर पब्लिश करता है।
.github/workflows/profile-graphics.yml
name: Profile graphics
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
generate:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v7
- uses: mikhailkhorokhorin/profile-graphics@v1
with:
config: profile-graphics.yml
token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: output