先看效果图😋
教程来喽
创建仓库
创建一个和你名字一样的仓库,并设置为public
创建工作流
新建.github
/workflows
文件夹,并创建profile-3d.yml
文件,写入以下信息
name: GitHub-Profile-3D-Contrib
on:
schedule: # 03:00 JST == 18:00 UTC
- cron: "0 18 * * *" #每天18:00触发工作流
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: generate-github-profile-3d-contrib
steps:
- uses: actions/checkout@v3
- uses: yoshi389111/github-profile-3d-contrib@0.7.1
env:
GITHUB_TOKEN: ${
{
secrets.GITHUB_TOKEN }}
USERNAME: ${
{
github.repository_owner }}
- name: Commit & Push
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add -A .
git commit -m "generated"
git push
在自述文件里添加图片,以下为各种版本
![](./profile-3d-contrib/profile-green-animate.svg)
![](./profile-3d-contrib/profile-green.svg)
![](./profile-3d-contrib/profile-season-animate.svg)
![](./profile-3d-contrib/profile-season.svg)
![](./profile-3d-contrib/profile-south-season-animate.svg)
![](./profile-3d-contrib/profile-south-season.svg)
![](./profile-3d-contrib/profile-night-view.svg)
![](./profile-3d-contrib/profile-night-green.svg)
![](./profile-3d-contrib/profile-night-rainbow.svg)
![](./profile-3d-contrib/profile-gitblock.svg)
上传后执行run workflow
就大功告成了,叔叔我呀,真是厉害捏😋