profile-3d-contrib,github三维立体图的使用

图片展示:

提示: 这个profile-3d-contrib存储库有时候会出现问题,导致又有使用这个存储库svg的用户显示出现问题.

参考:

https://zhuanlan.zhihu.com/p/681786778

原仓库链接:

GitHub - yoshi389111/github-profile-3d-contrib: This GitHub Action creates a GitHub contribution calendar on a 3D profile image.

第一步

在你的个人仓库下找到Actions

第二步

点击New workflow

第三步

创建一个新的文件,名为profile-3d.yml

第四步

文件输入这些信息,替换USERNMAE即可

name: GitHub-Profile-3D-Contrib

on:
  schedule: # 03:00 JST == 18:00 UTC
    - cron: "0 18 * * *"
  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: 这个和用户名一样名称的项目的名
      - name: Commit & Push
        run: |
          git config user.name github-actions
          git config user.email github-actions@github.com
          git add -A .
          git diff --staged --exit-code || (git commit -m "generated" && git push)

保存

第五步

这一步中出现了问题:

点击run workflow运行的时候,突然失败了,后面多次都失败了,不知道为什么.

经过努力的关键词查找,中原找到了具体的原因:

搜索了: actions,run workflow报错: commit&push fatal: unable to accese URL

原文地址: 运行Github Actions unable to access ‘https://github.com/x/‘: The requested URL returned error: 403_github action 403-CSDN博客

在Action下运行这一action

## 第六步

在你的README.md中添加

![Personal 3D Metrics](./profile-3d-contrib/profile-night-green.svg)

当然,他会创建一个文件夹,你也可以自己选择。

添加到README中就能看到了

相关推荐

  1. 3D立体盒子练习

    2024-06-09 21:20:01       30 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-06-09 21:20:01       19 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-06-09 21:20:01       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-06-09 21:20:01       19 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-06-09 21:20:01       20 阅读

热门阅读

  1. Search用法Python:深入探索搜索功能的应用与技巧

    2024-06-09 21:20:01       11 阅读
  2. spring框架限制接口是否要登录过才能访问

    2024-06-09 21:20:01       8 阅读
  3. 如何用结构化写好GPT的Prompt提示词

    2024-06-09 21:20:01       13 阅读
  4. DefaultTokenServices源码

    2024-06-09 21:20:01       10 阅读
  5. Fatfs

    Fatfs

    2024-06-09 21:20:01      6 阅读
  6. 基于Golang的AOI算法实现与优化

    2024-06-09 21:20:01       12 阅读