提交文章
This commit is contained in:
1 parent
cc7ce5cc81
commit
c5f3e9ad2e
161 files changed
+3847
-84
No files matched your search
@@ -23,22 +23,15 @@ jobs:
|
||||
timeout-minutes: 5
|
||||
|
||||
steps:
|
||||
# generates a snake game from a github user (<github_user_name>) contributions graph, output a svg animation at <svg_out_path>
|
||||
- name: generate github-contribution-grid-snake.svg
|
||||
uses: Platane/snk/svg-only@v3
|
||||
with:
|
||||
github_user_name: ${{ github.repository_owner }}
|
||||
outputs: |
|
||||
dist/github-contribution-grid-snake.svg
|
||||
dist/github-contribution-grid-snake-dark.svg?palette=github-dark
|
||||
|
||||
|
||||
# 将 <build_dir> 的内容推送到分支
|
||||
# 内容将在 https://raw.githubusercontent.com/<github_user>/<repository>/<target_branch>/<file> 提供,或作为 github 页面提供
|
||||
- name: push github-contribution-grid-snake.svg to the output branch
|
||||
uses: crazy-max/ghaction-github-pages@v3.1.0
|
||||
with:
|
||||
target_branch: output
|
||||
build_dir: dist
|
||||
- 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
|
||||
Reference in new issue
Block a user