From 0e6ec8a80f1c30b818aa0919bbd5a9eae439996a Mon Sep 17 00:00:00 2001 From: yam Date: Fri, 13 Mar 2026 21:32:15 +0300 Subject: [PATCH] Add .gitea/workflows/profile.yml --- .gitea/workflows/profile.yml | 58 ++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 .gitea/workflows/profile.yml diff --git a/.gitea/workflows/profile.yml b/.gitea/workflows/profile.yml new file mode 100644 index 0000000..c0d8437 --- /dev/null +++ b/.gitea/workflows/profile.yml @@ -0,0 +1,58 @@ +name: Generate Profile SVG + +on: + push: + branches: [ main ] + +jobs: + build-svg: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Create Terminal SVG + run: | + python3 -c " + VB_WIDTH = 600 + VB_HEIGHT = 190 + + svg_content = f''' + + + + + + + + yam@inzhenerika:~$ neofetch + + + OS: + Role: + Stack: + Status: + + + + Linux + Fullstack Software Engineer + Python, JavaScript, FastAPI, Django, Vue3, PostgreSQL, Elasticsearch + Building License Server... + + + yam@inzhenerika:~$ █ + + ''' + + with open('profile-card.svg', 'w') as f: + f.write(svg_content) + " + + - name: Commit and Push + run: | + git config user.name "gitea-actions[bot]" + git config user.email "actions@gitea.io" + git add profile-card.svg + git commit -m "docs: update profile card" || exit 0 + git push \ No newline at end of file