找素材的网站响应式网站示例
文章目录
- 前言
 - 3D-Contrib
 - 第一步
 - 第二步
 - 第三步
 - 第四步
 - 第五步
 - 第六步
 
前言
最近放假了,毕设目前也不太想做,先搞一点小玩意玩玩,让自己的github看起来好看点。也顺便学学这个action是怎么个事。
3D-Contrib
先给大家看一下效果
 我的个人主页:https://github.com/MengFanjun020906/MengFanjun020906
 原仓库链接:https://github.com/yoshi389111/github-profile-3d-contrib
 PS:不要在意我这个少得可怜的contributions

 要做这样一个效果,就需要用到github的action,之前一直没用过,今天才知道是干啥用的。
第一步
在你的个人仓库下找到Actions
 
第二步
点击New workflow
 
第三步
创建一个新的文件,名为profile-3d.yml
 
第四步
文件输入这些信息,替换你自己的名字即可
name: GitHub-Profile-3D-Contribon:schedule: # 03:00 JST == 18:00 UTC- cron: "0 18 * * *"workflow_dispatch:jobs:build:runs-on: ubuntu-latestname: generate-github-profile-3d-contribsteps:- uses: actions/checkout@v3- uses: yoshi389111/github-profile-3d-contrib@0.7.1env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}USERNAME: 你自己的名字- name: Commit & Pushrun: |git config user.name github-actionsgit config user.email github-actions@github.comgit add -A .git diff --staged --exit-code || (git commit -m "generated" && git push)
 
保存
第五步

 在Action下运行这一action
第六步
在你的README.md中添加

 
当然,他会创建一个文件夹,你也可以自己选择。
 
 添加到README中就能看到了。
