Skip to content

Commit 63e6ca0

Browse files
committed
docs: more fixes
1 parent 0097308 commit 63e6ca0

File tree

2 files changed

+36
-3
lines changed

2 files changed

+36
-3
lines changed

.github/workflows/gh-pages.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
permissions:
1818
contents: write
19+
1920
steps:
2021
- uses: actions/checkout@v4
2122

@@ -44,3 +45,35 @@ jobs:
4445
github_token: ${{ secrets.GITHUB_TOKEN }}
4546
publish_dir: ./book/book
4647
destination_dir: ./${{ env.OUTDIR }}
48+
49+
generate-con:
50+
name: Generate CONTRIBUTORS.svg
51+
runs-on: ubuntu-latest
52+
permissions:
53+
contents: write
54+
55+
steps:
56+
- uses: actions/checkout@v4
57+
58+
- name: Pull gh-pages
59+
run: |
60+
git config --global user.name 'Adam Perkowski'
61+
git config --global user.email '[email protected]'
62+
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/adamperkowski/highlightos
63+
git checkout --orphan gh-pages
64+
git rm -rf .
65+
git pull origin gh-pages
66+
git checkout gh-pages
67+
68+
- name: Generate Contributors Images
69+
uses: jaywcjlove/github-action-contributors@main
70+
with:
71+
filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\])
72+
output: CONTRIBUTORS.svg
73+
avatarSize: 42
74+
75+
- name: Push the svg
76+
run: |
77+
git add CONTRIBUTORS.svg
78+
git commit -am "Update CONTRIBUTORS.svg"
79+
git push --set-upstream origin gh-pages

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ x86_64 OS (kernel) made completely from scratch in Assembly & Rust
99
[![README in Italian](https://img.shields.io/badge/IT-%F0%9F%87%AE%F0%9F%87%B9-blue?color=%23ffb454&labelColor=%230a0c0c)](https://github.com/adamperkowski/highlightos/blob/main/README-it.md)
1010
[![Documentation](https://img.shields.io/badge/Documentation-%F0%9F%8C%84-blue?color=%23ffb454&labelColor=%230a0c0c)](https://os.adamperkowski.dev)
1111

12-
[![GitHub Release](https://img.shields.io/github/v/release/adamperkowski/highlightos?label=Latest%20Released%20Version&color=%23ffcc4d&labelColor=%23000000)](https://github.com/adamperkowski/highlightos/releases)
13-
[![GitHub License](https://img.shields.io/github/license/adamperkowski/highlightos?label=License&color=%23ffcc4d&labelColor=%23000000)](https://github.com/adamperkowski/highlightos/blob/main/LICENSE) ![GitHub repo size](https://img.shields.io/github/repo-size/adamperkowski/highlightos?label=Repo%20Size&color=%23ffcc4d&labelColor=%23000000)
14-
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/adamperkowski/highlightos/asm.yml?branch=main&label=ASM%20Build&color=%23ffcc4d&labelColor=%23000000)](https://github.com/adamperkowski/highlightos/actions) [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/adamperkowski/highlightos/rust.yml?branch=main&label=HLKernel%20Build&color=%23ffcc4d&labelColor=%23000000)](https://github.com/adamperkowski/highlightos/actions)
12+
[![GitHub Release](https://img.shields.io/github/v/release/adamperkowski/highlightos?label=Latest%20Released%20Version&color=%23ffb454&labelColor=%230a0c0c)](https://github.com/adamperkowski/highlightos/releases)
13+
[![GitHub License](https://img.shields.io/github/license/adamperkowski/highlightos?label=License&color=%23ffb454&labelColor=%230a0c0c)](https://github.com/adamperkowski/highlightos/blob/main/LICENSE) ![GitHub repo size](https://img.shields.io/github/repo-size/adamperkowski/highlightos?label=Repo%20Size&color=%23ffb454&labelColor=%230a0c0c)
14+
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/adamperkowski/highlightos/asm.yml?branch=main&label=ASM%20Build&color=%23ffb454&labelColor=%230a0c0c)](https://github.com/adamperkowski/highlightos/actions) [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/adamperkowski/highlightos/rust.yml?branch=main&label=HLKernel%20Build&color=%23ffb454&labelColor=%230a0c0c)](https://github.com/adamperkowski/highlightos/actions)
1515

1616
## Table of contents
1717
- [Build from source on Linux](#build-from-source-on-linux)

0 commit comments

Comments
 (0)