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