maurodesouza / profile-readme-generator

🎨 Enhance your GitHub profile with this amazing tool, which allows you to create a personalized README quickly and easily. This profile README generator is the best you'll find 🚀
https://profile-readme-generator.com
MIT License
1.56k stars 236 forks source link

[BUG]: snake feature not working #50

Closed basavarajakj closed 10 months ago

basavarajakj commented 10 months ago

What happens?

After adding github username to get snake feature nothing is showing in result page

What are the steps to reproduce this issue?

  1. Go to home page
  2. Click snake tab
  3. Give github username
  4. click generate Readme

What were you expecting to happen?

I want code for that feature

Additional information about your environment

Additional context

No response

lucas-fsousa commented 10 months ago

I also had problems trying to generate the snake animation!

maurodesouza commented 10 months ago

Hi @basavarajakj and @lucas-fsousa 👋

I tried to reproduce the issue, but it's apparently working here. Can you provide a video/gif to give more context about the problem? Thanks!

basavarajakj commented 10 months ago

Hey @maurodesouza Know its working fine but how to customize this snake animation in local profile. Is there any documentation

No898 commented 10 months ago

Hello!

can someone recommend me what am i doing wrong?

i trying to generate main.yml, but got this error, is it correct to use

image

name: Generate Datas

on:
  schedule: # execute every 12 hours
    - cron: "* */12 * * *"
  workflow_dispatch:

jobs:
  build:
    name: Jobs to update datas
    runs-on: ubuntu-latest
    steps:
       Snake Animation
      - uses: Platane/snk@master
        id: snake-gif
        with:
          github_user_name: No898
          svg_out_path: dist/github-contribution-grid-snake.svg

      - uses: crazy-max/ghaction-github-pages@v2.1.3
        with:
          target_branch: output
          build_dir: dist
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

i tried this one generated from website and same error

name: Generate snake animation

on:
  schedule: # execute every 12 hours
    - cron: "* */12 * * *"

  workflow_dispatch:

  push:
    branches:
    - master

jobs:
  generate:
    runs-on: ubuntu-latest

    steps:
      - name: generate snake.svg
        uses: Platane/snk/svg-only@v2
        with:
          github_user_name: ${{ github.repository_owner }}
          outputs: dist/snake.svg

      - name: push snake.svg to the output branch
        uses: crazy-max/ghaction-github-pages@v2.6.0
        with:
          target_branch: output
          build_dir: dist
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
lucas-fsousa commented 10 months ago

@No898 I had exactly this error.

No898 commented 10 months ago

@maurodesouza can you help us to solve it? thank you for your work

maurodesouza commented 10 months ago

Hi there 👋

I pushed an update related to the snake.yml animation to comply with the snk feature recommended settings.

It should work properly now. Please inform me if it is still not working.

Thanks ❤