├── .github └── workflows │ └── snake.yml └── README.md /.github/workflows/snake.yml: -------------------------------------------------------------------------------- 1 | # GitHub Action for generating a contribution graph with a snake eating your contributions. 2 | 3 | name: Generate Snake 4 | 5 | # Controls when the action will run. This action runs every 24 hours. 6 | 7 | on: 8 | schedule: 9 | # every 24 hours 10 | - cron: "0 */24 * * *" 11 | 12 | # This command allows us to run the Action automatically from the Actions tab. 13 | workflow_dispatch: 14 | 15 | # On changes 16 | push: 17 | branches: 18 | - master 19 | 20 | # The sequence of runs in this workflow: 21 | jobs: 22 | # This workflow contains a single job called "build" 23 | build: 24 | # The type of runner that the job will run on 25 | runs-on: ubuntu-latest 26 | permissions: 27 | contents: write 28 | timeout-minutes: 5 29 | # Steps represent a sequence of tasks that will be executed as part of the job 30 | steps: 31 | 32 | # Checks repo under $GITHUB_WORKSHOP, so your job can access it 33 | - uses: actions/checkout@v2 34 | 35 | # Generates the snake 36 | - uses: Platane/snk/svg-only@v3 37 | id: snake-gif 38 | with: 39 | github_user_name: ${{ github.repository_owner }} 40 | # these next 2 lines generate the files on a branch called "output". This keeps the main branch from cluttering up. 41 | outputs: | 42 | dist/github-contribution-grid-snake.svg 43 | dist/github-contribution-grid-snake-dark.svg?palette=github-dark 44 | env: 45 | GITHUB_TOKEN: ${{ secrets.SECRET_TOKEN }} 46 | 47 | # show the status of the build. Makes it easier for debugging (if there's any issues). 48 | - run: git status 49 | 50 | # Push the images to the output branch 51 | - uses: crazy-max/ghaction-github-pages@v3.1.0 52 | with: 53 | # the output branch we mentioned above 54 | target_branch: output 55 | build_dir: dist 56 | env: 57 | GITHUB_TOKEN: ${{ secrets.SECRET_TOKEN }} -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |  2 | 3 | [](https://programmerdatch.netlify.app/) 4 | 5 | **ProgrammerDATCH**: *Apply complicated algorithm to get eazy life.* || *Are you delighted that all my stuff are scrumptious?.* 6 | 7 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |