loading...

GitHub Box - Pinned Gist for your GitHub Profile

yo profile image Yogi Updated on ・1 min read

🐱 Update a gist to contain your GitHub profile data

Repo: https://github.com/yg/gh-box

Setup Instruction

  1. Create a new repo here http://repo.new
  2. Create GitHub token user, admin:public_key and gist scope
  3. Paste the token in secret vault of the repo
  4. Create a new workflow in Actions Tab
  5. Paste the below code in your workflow
  6. 🎉
name: GitHub Box

on:
  schedule:
    - cron: "0 * * * *"
  push:
    branches: master

jobs:
  update-gist:
    runs-on: macos-latest

    steps:
      - uses: actions/checkout@master
      - name: Update gist
        uses: yg/gh-box@v1.0.2
        env:
          GH_TOKEN: ${{ secrets.GH_TOKEN }}
          GIST_ID: 3753e51aab929a084a77e14c52a2864a
          CONSIDER_PRIVATE: true

Here is my workflow https://github.com/yg/pinned-gist/blob/master/.github/workflows/gh-box.yml

Make sure to follow me on GitHub https://github.com/yg to get tons of interesting stuff.

Posted on by:

yo profile

Yogi

@yo

Full Stack Developer 👨‍💻 • Open-source enthusiast 🚀 • he/him

Discussion

markdown guide