Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from jaywcjlove:master #134

Open
wants to merge 566 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
566 commits
Select commit Hold shift + click to select a range
565a418
doc: update README.md.
github-actions[bot] Jun 2, 2023
3414d5d
doc: update template/contributors.ejs.
github-actions[bot] Jun 2, 2023
0b3986f
doc: update 7z/ab document. (#511)
xhal Jun 13, 2023
0f86282
doc: update README.md.
github-actions[bot] Jun 13, 2023
a090e65
doc: update template/contributors.ejs.
github-actions[bot] Jun 13, 2023
c8f7278
doc: Update README.md #512
jaywcjlove Jun 14, 2023
7679d33
doc: update README.md.
github-actions[bot] Jun 14, 2023
5d2461f
doc: update template/contributors.ejs.
github-actions[bot] Jun 14, 2023
23a1f5c
doc: add docker.md (#514)
tutianyu101 Jun 15, 2023
e342f56
doc: update README.md.
github-actions[bot] Jun 15, 2023
a274520
doc: update template/contributors.ejs.
github-actions[bot] Jun 15, 2023
c65bf6c
doc: update docker.md (#514)
jaywcjlove Jun 15, 2023
f5b902a
doc: update command/docker.md
jaywcjlove Jun 15, 2023
7e0f5e2
chore: update workflow config.
jaywcjlove Jun 15, 2023
8c7a05a
chore: update 7z.md/db.md document.
jaywcjlove Jun 15, 2023
ed58ed1
fix: update build script.
jaywcjlove Jun 15, 2023
922c39b
doc: Update znew.md (fix #516)
jaywcjlove Jun 17, 2023
a1549ed
doc: update command/dmesg.md (#517)
Qliangw Jun 19, 2023
aad9ebc
doc: update README.md.
github-actions[bot] Jun 19, 2023
01ec9c4
doc: update template/contributors.ejs.
github-actions[bot] Jun 19, 2023
b525acd
chore: update workflows config.
jaywcjlove Jun 20, 2023
cd7efff
add(drm): modetest.md (#518)
Qliangw Jul 10, 2023
c5e5350
doc: update README.md.
github-actions[bot] Jul 10, 2023
fa4d169
doc: update template/contributors.ejs.
github-actions[bot] Jul 10, 2023
ac04ffd
doc: update modetest.md (#518)
jaywcjlove Jul 10, 2023
407be64
doc: update command/pgrep.md (#519)
alfchao Jul 15, 2023
96bacc4
doc: update README.md.
github-actions[bot] Jul 15, 2023
7720e1a
doc: update template/contributors.ejs.
github-actions[bot] Jul 15, 2023
25182ed
feat: Add reposync.md (#524)
YanhiWang Sep 7, 2023
adbf5b3
doc: update README.md.
github-actions[bot] Sep 7, 2023
dd87d7b
doc: update template/contributors.ejs.
github-actions[bot] Sep 7, 2023
605c027
feat: add createrepo.md (#525)
YanhiWang Sep 7, 2023
13d0b52
doc: update README.md.
github-actions[bot] Sep 7, 2023
4bed11a
doc: update template/contributors.ejs.
github-actions[bot] Sep 7, 2023
f2851b3
feat: add hcitool (#526)
zyimm Sep 27, 2023
cdc8fd8
doc: update README.md.
github-actions[bot] Sep 27, 2023
e1278ed
doc: update template/contributors.ejs.
github-actions[bot] Sep 27, 2023
1f1bd4c
chore(deps): update dependency markdown-to-html-cli to v4 (#527)
renovate[bot] Sep 28, 2023
13e5963
feat: add pkexec.md (#520) (#529)
conglinyizhi Oct 8, 2023
9607bdd
doc: update README.md.
github-actions[bot] Oct 8, 2023
4721873
doc: update template/contributors.ejs.
github-actions[bot] Oct 8, 2023
e9e965e
doc: Update pkexec.md (#529)
jaywcjlove Oct 8, 2023
efb73d9
doc: Update CONTRIBUTING.md
jaywcjlove Oct 14, 2023
38609c7
doc: Update CONTRIBUTING.md (#497)
jaywcjlove Oct 14, 2023
df3bffe
doc: Update README.md
jaywcjlove Oct 14, 2023
f97571c
doc: update command/mount.md (#531)
conglinyizhi Oct 15, 2023
4d0b0ee
doc: update README.md.
github-actions[bot] Oct 15, 2023
1bd2599
doc: update template/contributors.ejs.
github-actions[bot] Oct 15, 2023
01484d7
feat: add command/sshpass.md (#537)
alfchao Oct 30, 2023
11d0b19
doc: update README.md.
github-actions[bot] Oct 30, 2023
9858d56
doc: update template/contributors.ejs.
github-actions[bot] Oct 30, 2023
def27d4
doc: Update curl.md (#538)
jcdj666 Oct 30, 2023
121a268
doc: Update README.md
jaywcjlove Nov 2, 2023
a6b9d06
doc: update README.md.
github-actions[bot] Nov 2, 2023
90f9f53
doc: update template/contributors.ejs.
github-actions[bot] Nov 2, 2023
8072199
doc: Update awk.md (#536)
XBGzZ Nov 2, 2023
e3c800e
doc: update README.md.
github-actions[bot] Nov 2, 2023
3ce69cc
doc: update template/contributors.ejs.
github-actions[bot] Nov 2, 2023
9079d5a
chore: add sponsor badge.
jaywcjlove Nov 25, 2023
2991363
website: update footer template.
jaywcjlove Nov 25, 2023
12d1047
doc: update README.md.
github-actions[bot] Nov 25, 2023
78d8180
doc: update template/contributors.ejs.
github-actions[bot] Nov 25, 2023
65665e8
ci: update workflows config.
jaywcjlove Nov 27, 2023
2f5cf43
doc: update less.md & lscpu.md & ntpdate.md & tcpreplay.md (#542)
sfwwslm Dec 2, 2023
17a87b6
doc: update README.md.
github-actions[bot] Dec 2, 2023
0d6f444
doc: update template/contributors.ejs.
github-actions[bot] Dec 2, 2023
659084f
doc: Update pacman.md (#543)
Dec 2, 2023
90a1857
doc: update README.md.
github-actions[bot] Dec 2, 2023
de33731
doc: update template/contributors.ejs.
github-actions[bot] Dec 2, 2023
206ca09
doc: update command/vi.md (#544)
alterem Dec 5, 2023
1145168
doc: update README.md.
github-actions[bot] Dec 5, 2023
9640f33
doc: update template/contributors.ejs.
github-actions[bot] Dec 5, 2023
7c5a8ea
doc: update zip.md (fix #545)
jaywcjlove Dec 7, 2023
54bc9aa
doc: update zip.md & add example
jaywcjlove Dec 7, 2023
61875e0
doc: update tcpreplay.md #546
jaywcjlove Dec 12, 2023
66fb61d
doc: Update README.md (#548)
ischenyu Dec 24, 2023
f424577
doc: update README.md.
github-actions[bot] Dec 24, 2023
cd64857
doc: update template/contributors.ejs.
github-actions[bot] Dec 24, 2023
f0d955b
doc: Update README.md #548
jaywcjlove Dec 24, 2023
39e590c
doc: update 7z.md (#549)
maboloshi Dec 28, 2023
7c9a1c0
add column.md (#550)
yeungchie Dec 31, 2023
8ce1016
doc: update README.md.
github-actions[bot] Dec 31, 2023
06066f2
doc: update template/contributors.ejs.
github-actions[bot] Dec 31, 2023
e9af515
doc: update dd.md (#552)
xhal Jan 11, 2024
8bb6835
doc: update README.md.
github-actions[bot] Jan 11, 2024
ab0cc03
doc: update template/contributors.ejs.
github-actions[bot] Jan 11, 2024
449a8c6
chore: add sync.yml (#554)
gggwvg Jan 15, 2024
5fb7008
doc: update README.md.
github-actions[bot] Jan 15, 2024
646e141
doc: update template/contributors.ejs.
github-actions[bot] Jan 15, 2024
3d4819b
feat: add pip.md (#556)
ischenyu Jan 16, 2024
b351889
doc: update README.md.
github-actions[bot] Jan 16, 2024
26abc18
doc: update template/contributors.ejs.
github-actions[bot] Jan 16, 2024
aecf818
doc: update command/pip.md #556
jaywcjlove Jan 16, 2024
985fb03
doc: update README.md.
github-actions[bot] Jan 16, 2024
a655e4a
doc: update template/contributors.ejs.
github-actions[bot] Jan 16, 2024
75def39
feat: add `iscsiadm` (#558)
Azroys Jan 23, 2024
a58b859
doc: update README.md.
github-actions[bot] Jan 23, 2024
fb3ad5e
doc: update template/contributors.ejs.
github-actions[bot] Jan 23, 2024
e45c112
fix: renmae iscsiadm file name. #558
jaywcjlove Jan 23, 2024
f437beb
doc: update README.md.
github-actions[bot] Jan 23, 2024
0d3c492
doc: update template/contributors.ejs.
github-actions[bot] Jan 23, 2024
c87b83b
doc: update command/kill.md
jaywcjlove Jan 23, 2024
7f87da9
fix: rename hcitool to hcitool.md (#559)
miniwater Jan 30, 2024
aa9e85f
doc: update README.md.
github-actions[bot] Jan 30, 2024
a2f8efe
doc: update template/contributors.ejs.
github-actions[bot] Jan 30, 2024
aff91bc
doc: update command/docker.md (#563)
alterem Feb 23, 2024
1280101
doc: update README.md.
github-actions[bot] Feb 23, 2024
79c5ad5
doc: update template/contributors.ejs.
github-actions[bot] Feb 23, 2024
02e3ae8
doc: fix typo in ack.md (#565)
cy920820 Mar 4, 2024
9121c34
doc: update README.md.
github-actions[bot] Mar 4, 2024
49b02fe
doc: update template/contributors.ejs.
github-actions[bot] Mar 4, 2024
11cea6d
doc: update command/rm.md (#568)
LesterWeng Mar 13, 2024
e1a427e
doc: update README.md.
github-actions[bot] Mar 13, 2024
57bb010
doc: update template/contributors.ejs.
github-actions[bot] Mar 13, 2024
a90fb67
chore: fix some typos (#569)
shuangcui Mar 14, 2024
4bc8306
doc: update README.md.
github-actions[bot] Mar 14, 2024
a044c47
doc: update template/contributors.ejs.
github-actions[bot] Mar 14, 2024
7ffccdb
doc: update command/du.md (#570)
zxyup Mar 19, 2024
dd479f7
doc: update README.md.
github-actions[bot] Mar 19, 2024
3bf82f3
doc: update template/contributors.ejs.
github-actions[bot] Mar 19, 2024
034ef00
doc: Update nice.md (#572)
wuxian Apr 7, 2024
7f32876
doc: update README.md.
github-actions[bot] Apr 7, 2024
77e5f37
doc: update template/contributors.ejs.
github-actions[bot] Apr 7, 2024
935bc49
ci: update workflow config.
jaywcjlove Apr 7, 2024
c335663
released v1.18.0
jaywcjlove Apr 7, 2024
ecea873
ci: update workflow config.
jaywcjlove Apr 7, 2024
5e33440
doc: add mtr.md (#540)
hululu1068 Apr 7, 2024
8596567
doc: update mtr.md #540
jaywcjlove Apr 7, 2024
98100a2
doc: update README.md.
github-actions[bot] Apr 7, 2024
bcaecdb
doc: update template/contributors.ejs.
github-actions[bot] Apr 7, 2024
50a9043
doc: Update iftop.md (#573)
admxj Apr 18, 2024
33277f5
doc: update README.md.
github-actions[bot] Apr 18, 2024
764e369
doc: update template/contributors.ejs.
github-actions[bot] Apr 18, 2024
c327ee0
doc: Update shopt.md (#574)
admxj Apr 23, 2024
64b1a4e
doc: update README.md.
github-actions[bot] Apr 23, 2024
8dbd976
doc: update template/contributors.ejs.
github-actions[bot] Apr 23, 2024
a1150a1
doc: add gpg.md (#575)
admxj Apr 23, 2024
1d6d128
doc: update README.md.
github-actions[bot] Apr 23, 2024
f707edb
doc: update template/contributors.ejs.
github-actions[bot] Apr 23, 2024
b764667
doc: add figlet.md (#576)
yeungchie May 7, 2024
47e7cd9
doc: update README.md.
github-actions[bot] May 7, 2024
4df5e92
doc: update template/contributors.ejs.
github-actions[bot] May 7, 2024
f9babe1
doc: update command/figlet.md #576
jaywcjlove May 7, 2024
9b2d0a2
doc: update command/figlet.md #576
jaywcjlove May 8, 2024
fe5f89b
doc: Update lsof.md #577
jaywcjlove May 8, 2024
5a574c8
doc: update systemctl.md (#578)
loprx May 14, 2024
75281c8
doc: update README.md.
github-actions[bot] May 14, 2024
3d834fd
doc: update template/contributors.ejs.
github-actions[bot] May 14, 2024
1faf846
doc: Update README.md (#579)
kapok-cjs May 16, 2024
585f678
doc: Update ethtool.md (#580)
springsunx May 19, 2024
723890f
doc: update README.md.
github-actions[bot] May 19, 2024
6595729
doc: update template/contributors.ejs.
github-actions[bot] May 19, 2024
1a4d712
doc: Update lvcreate.md (#584)
fishandsheep Jun 16, 2024
f7a82f4
doc: update README.md.
github-actions[bot] Jun 16, 2024
ca97f8a
doc: update template/contributors.ejs.
github-actions[bot] Jun 16, 2024
83b53b1
ci: Update FUNDING.yml
jaywcjlove Jun 22, 2024
b067905
ci: update workflows config.
jaywcjlove Jun 23, 2024
e6f9699
ci: update workflows config.
jaywcjlove Jun 23, 2024
770ae32
ci: update workflows config.
jaywcjlove Jun 23, 2024
c5c2179
doc: update command/mkdir.md (#585)
nsnans Jun 27, 2024
e9564f4
doc: update README.md.
github-actions[bot] Jun 27, 2024
0d262d0
doc: update template/contributors.ejs.
github-actions[bot] Jun 27, 2024
b5f545d
doc: Update README.md
jaywcjlove Jun 27, 2024
eed00d5
doc: update README.md.
github-actions[bot] Jun 27, 2024
e22feab
doc: update template/contributors.ejs.
github-actions[bot] Jun 27, 2024
4582a51
doc: Update README.md
jaywcjlove Jun 27, 2024
6ef67d1
doc: Update README.md
jaywcjlove Jun 27, 2024
ec8c036
chore: Switch Kenny Wang to Kenny Wong (#587)
karlhorky Jun 30, 2024
3d20516
doc: update README.md.
github-actions[bot] Jun 30, 2024
91bc78c
doc: update template/contributors.ejs.
github-actions[bot] Jun 30, 2024
7c11c46
doc: Update sed.md (#589)
FunKeen Jul 10, 2024
d8553ad
doc: update README.md.
github-actions[bot] Jul 10, 2024
3454b8a
doc: update template/contributors.ejs.
github-actions[bot] Jul 10, 2024
0db6aa6
doc: update command/awk.md (#590)
FunKeen Jul 10, 2024
d843827
doc: update README.md.
github-actions[bot] Jul 10, 2024
7553e4f
doc: update template/contributors.ejs.
github-actions[bot] Jul 10, 2024
f9de3eb
docs: add X-CMD social website (#591)
Zhengqbbb Jul 11, 2024
f686028
doc: update README.md.
github-actions[bot] Jul 11, 2024
071e0c0
doc: update template/contributors.ejs.
github-actions[bot] Jul 11, 2024
e479f15
docs(find命令): 拓展`find`命令描述以及补充额外的表达式选项 (#593)
hotdogc1017 Jul 15, 2024
be1fb35
doc: update README.md.
github-actions[bot] Jul 15, 2024
ead3b54
doc: update template/contributors.ejs.
github-actions[bot] Jul 15, 2024
6545af6
doc: Update README.md #595
jaywcjlove Jul 31, 2024
ef397ae
doc: update README.md.
github-actions[bot] Jul 31, 2024
5f8043d
doc: update template/contributors.ejs.
github-actions[bot] Jul 31, 2024
774d3af
doc: Update README.md
jaywcjlove Jul 31, 2024
15c63fe
doc: update axel.md (#596)
zyy2477 Aug 15, 2024
6079545
doc: update README.md.
github-actions[bot] Aug 15, 2024
d88ec7c
doc: update template/contributors.ejs.
github-actions[bot] Aug 15, 2024
7155c78
doc: Update iostat.md (#599)
zyy2477 Aug 29, 2024
2f8778a
doc: update README.md.
github-actions[bot] Aug 29, 2024
37bcd5f
doc: update template/contributors.ejs.
github-actions[bot] Aug 29, 2024
80c5150
doc: update command/passwd.md (#600)
zyy2477 Sep 1, 2024
b2bab26
fix: correct formatting issue causing errors. #601
jaywcjlove Sep 3, 2024
14ce75c
doc: update README.md.
github-actions[bot] Sep 3, 2024
8555c10
doc: update template/contributors.ejs.
github-actions[bot] Sep 3, 2024
4249725
released v1.19.0
jaywcjlove Sep 3, 2024
16c4a08
fix(docset): resolve error during docset file generation. #601
jaywcjlove Sep 3, 2024
3c6f616
released v1.19.1 #601
jaywcjlove Sep 3, 2024
0f18681
chore(deps-dev): bump sqlite3 from 5.0.8 to 5.1.5 (#528)
dependabot[bot] Sep 3, 2024
7851b27
chore(deps): update dependency uglify-js to ~3.19.0 (#583)
renovate[bot] Sep 3, 2024
2737428
chore(deps): update dependency stylus to ~0.63.0 (#522)
renovate[bot] Sep 3, 2024
cb46889
doc: update docker.md (#603)
duzhuoshanwai Sep 12, 2024
6321537
doc: update README.md.
github-actions[bot] Sep 12, 2024
c50c19a
doc: update template/contributors.ejs.
github-actions[bot] Sep 12, 2024
f464536
chore: Add kubernetes deployment (#605)
willzhang Sep 20, 2024
8e07207
doc: update README.md.
github-actions[bot] Sep 20, 2024
3281700
doc: update template/contributors.ejs.
github-actions[bot] Sep 20, 2024
d85be58
doc: update command/iostat.md
jaywcjlove Sep 3, 2024
50b5782
chore: rename deploy/yamls -> k8s #605
jaywcjlove Sep 20, 2024
d82ca52
doc: update k8s/README.md
jaywcjlove Sep 20, 2024
9870dba
doc: update README.md.
github-actions[bot] Sep 20, 2024
f6a17c0
doc: update template/contributors.ejs.
github-actions[bot] Sep 20, 2024
686f445
chore: add helm charts (#606)
willzhang Sep 20, 2024
fc97de6
doc: update README.md.
github-actions[bot] Sep 20, 2024
a727bb3
doc: update template/contributors.ejs.
github-actions[bot] Sep 20, 2024
4997c40
chore: renamed deploy/helm/ -> k8s/helm/ #606
jaywcjlove Sep 20, 2024
ffc270e
doc: update README.md.
github-actions[bot] Sep 20, 2024
5cd5a45
doc: update template/contributors.ejs.
github-actions[bot] Sep 20, 2024
06c56e9
docs: add BT Panel Deployment Method (#613)
bestlaw66 Oct 31, 2024
3ad005a
doc: update README.md.
github-actions[bot] Oct 31, 2024
7c36a2f
doc: update template/contributors.ejs.
github-actions[bot] Oct 31, 2024
2268588
doc: update command/free.md (#615)
chaofanx Nov 12, 2024
a607043
doc: update command/strings.md (#617)
yeungchie Nov 26, 2024
fbba209
doc: update README.md.
github-actions[bot] Nov 26, 2024
e370038
doc: update template/contributors.ejs.
github-actions[bot] Nov 26, 2024
f5b0488
doc: Update README.md (#618)
githubwxz Nov 29, 2024
84d686c
doc: update README.md.
github-actions[bot] Nov 29, 2024
b8b9389
doc: update template/contributors.ejs.
github-actions[bot] Nov 29, 2024
0775c0d
doc: Update nohup.md (#621)
fusurus Dec 21, 2024
a6207d7
doc: update command/nohup.md
jaywcjlove Dec 21, 2024
5b5557f
doc: update README.md.
github-actions[bot] Dec 21, 2024
fc723b6
doc: update template/contributors.ejs.
github-actions[bot] Dec 21, 2024
1f11d8a
doc: update command/as.md
jaywcjlove Dec 21, 2024
2a18151
doc: update command/at.md
jaywcjlove Dec 21, 2024
d27f055
doc: update README.md.
github-actions[bot] Dec 21, 2024
0ae1a1b
doc: update template/contributors.ejs.
github-actions[bot] Dec 21, 2024
b1272c9
doc: update command/atq.md
jaywcjlove Dec 21, 2024
69890bc
doc: update command/atop.md
jaywcjlove Dec 21, 2024
cc87257
doc: update README.md.
github-actions[bot] Dec 21, 2024
065edf1
doc: update template/contributors.ejs.
github-actions[bot] Dec 21, 2024
db88f1b
doc: update touch.md (#624)
Jeremy2214 Dec 26, 2024
43f5dc0
doc: update README.md.
github-actions[bot] Dec 26, 2024
d4998a1
doc: update template/contributors.ejs.
github-actions[bot] Dec 26, 2024
36a4edf
feat: Create getfacl.md (#625)
fishandsheep Dec 29, 2024
6603a44
doc: update README.md.
github-actions[bot] Dec 29, 2024
000517e
doc: update template/contributors.ejs.
github-actions[bot] Dec 29, 2024
ec0fe45
doc: update column.md (#629)
duzhuoshanwai Jan 11, 2025
2507c01
doc: update README.md.
github-actions[bot] Jan 11, 2025
b846991
doc: update template/contributors.ejs.
github-actions[bot] Jan 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# These are supported funding model platforms

github: [jaywcjlove]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # npm/linux-command
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
custom: https://jaywcjlove.github.io/sponsor.html
ko_fi: jaywcjlove
buy_me_a_coffee: jaywcjlove
custom: ["https://www.paypal.me/kennyiseeyou", "https://jaywcjlove.github.io/#/sponsor"]
276 changes: 220 additions & 56 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,64 +1,228 @@
name: GitHub Actions Build and Deploy linux-command
name: CI
on:
push:
branches:
- master

jobs:
build-deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14

- name: Generate Changelog
id: changelog
uses: jaywcjlove/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
filter-author: (小弟调调™|Renovate Bot)
filter: (^[\s]+?[R|r]elease)|(^[R|r]elease)


- run: npm install
- run: npm run build
- run: npm run dash
- run: rm -rf .deploy/linux-command.docset

- run: npm install @jsdevtools/npm-publish -g
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./.deploy
user_name: github-actions[bot]
user_email: github-actions[bot]@users.noreply.github.com

- name: Create Tag
id: create_tag
uses: jaywcjlove/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
package-path: ./package.json

- name: Create Release
uses: ncipollo/release-action@v1
if: steps.create_tag.outputs.successful
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: ${{ steps.create_tag.outputs.version }}
tag: ${{ steps.create_tag.outputs.version }}
body: |
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/linux-command@${{steps.create_tag.outputs.versionNumber}}/file/README.md) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/linux-command)](https://bundlephobia.com/result?p=linux-command@${{steps.create_tag.outputs.versionNumber}})

```bash
npm i linux-command@${{steps.create_tag.outputs.versionNumber}}
```

${{ steps.changelog.outputs.compareurl }}

${{ steps.changelog.outputs.changelog }}
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'

- name: Generate Contributors Images
uses: jaywcjlove/github-action-contributors@main
id: contributors
with:
filter-author: (renovate\[bot\]|renovate-bot|@github-actions-bot|dependabot\[bot\])
avatarSize: 42

- name: Modify README.md
uses: jaywcjlove/github-action-modify-file-content@main
with:
path: README.md
openDelimiter: '<!--AUTO_GENERATED_PLEASE_DONT_DELETE_IT-->'
closeDelimiter: '<!--AUTO_GENERATED_PLEASE_DONT_DELETE_IT-END-->'
body: |
${{steps.contributors.outputs.htmlList}}

- name: Modify contributors.ejs
uses: jaywcjlove/github-action-modify-file-content@main
with:
path: template/contributors.ejs
openDelimiter: '<!--AUTO_GENERATED_PLEASE_DONT_DELETE_IT-->'
closeDelimiter: '<!--AUTO_GENERATED_PLEASE_DONT_DELETE_IT-END-->'
body: |
${{steps.contributors.outputs.htmlList}}

- run: npm install
- run: npm run dash
- run: cp CONTRIBUTORS.svg .deploy

- name: Build Linux Command
run: |
npm install
npm run dash
cp CONTRIBUTORS.svg .deploy

- name: Create Tag
id: create_tag
uses: jaywcjlove/create-tag-action@main
with:
package-path: ./package.json

- name: Get Tag Version
id: tag_version
uses: jaywcjlove/changelog-generator@main

- name: Update Dash Feed
run: |
echo "<entry><version>${{steps.create_tag.outputs.versionNumber}}</version><url>https://jaywcjlove.github.io/linux-command/linux-command.docset.tgz</url></entry>" > .deploy/linux-command-docset.xml

- name: Generate Changelog
id: changelog
uses: jaywcjlove/changelog-generator@main
with:
filter-author: (小弟调调™)
filter: (^[\s]+?[R|r]elease)|(^[R|r]elease)

- name: Create Release
uses: ncipollo/release-action@v1
if: steps.create_tag.outputs.successful
with:
allowUpdates: true
artifacts: '.deploy/linux-command.docset.tgz'
draft: false
token: ${{ secrets.GITHUB_TOKEN }}
name: ${{ steps.create_tag.outputs.version }}
tag: ${{ steps.create_tag.outputs.version }}
body: |
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/linux-command@${{steps.create_tag.outputs.versionNumber}}/file/README.md) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/linux-command)](https://bundlephobia.com/result?p=linux-command@${{steps.create_tag.outputs.versionNumber}})

```bash
npm i linux-command@${{steps.create_tag.outputs.versionNumber}}
```

${{ steps.changelog.outputs.compareurl }}

${{ steps.changelog.outputs.changelog }}


Document linux-command@${{ steps.changelog.outputs.tag }}:
https://raw.githack.com/jaywcjlove/linux-command/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html


## Docker

[![Docker Image Version (latest by date)](https://img.shields.io/docker/v/wcjiang/linux-command)](https://hub.docker.com/r/wcjiang/linux-command) [![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/wcjiang/linux-command)](https://hub.docker.com/r/wcjiang/linux-command) [![Docker Pulls](https://img.shields.io/docker/pulls/wcjiang/linux-command)](https://hub.docker.com/r/wcjiang/linux-command)

轻松通过 `docker` 部署 `linux-command` 网站。

```bash
docker pull wcjiang/linux-command
```

```bash
docker run --name linux-command --rm -d -p 9665:3000 wcjiang/linux-command:latest
# Or
docker run --name linux-command -itd -p 9665:3000 wcjiang/linux-command:latest
```

在浏览器中访问以下 URL

```bash
http://localhost:9665/
```

- run: rm -rf .deploy/linux-command.docset

- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
commit_message: '[${{steps.tag_version.outputs.tag}}] ${{ github.event.head_commit.message }}'
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./.deploy
user_name: github-actions[bot]
user_email: github-actions[bot]@users.noreply.github.com

- run: npm publish --access public --provenance
continue-on-error: true
name: 📦 linux-command publish to NPM
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

# Create Docker Image
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push image:latest
uses: docker/build-push-action@v6
with:
push: true
context: .
platforms: linux/amd64,linux/arm64
tags: ${{ secrets.DOCKER_USER }}/linux-command:latest

- name: Build and push image:tags
uses: docker/build-push-action@v6
if: steps.create_tag.outputs.successful
with:
push: true
context: .
platforms: linux/amd64,linux/arm64
tags: ${{ secrets.DOCKER_USER }}/linux-command:${{steps.changelog.outputs.version}}

# # Create Docker Image in Github
# - name: Login to the GitHub Container Registry
# uses: docker/login-action@v2
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}

# - name: Build and push image:latest
# uses: docker/build-push-action@v6
# with:
# push: true
# context: .
# platforms: linux/amd64,linux/arm64
# tags: ghcr.io/jaywcjlove/linux-command:latest

# - name: Build and push image:tags
# uses: docker/build-push-action@v6
# if: steps.create_tag.outputs.successful
# with:
# push: true
# context: .
# platforms: linux/amd64,linux/arm64
# tags: ghcr.io/jaywcjlove/linux-command:${{steps.changelog.outputs.version}}

# # Create Docker Image
# - name: Docker login
# run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASSWORD }}

# - name: Build linux-command image
# run: |
# rm -rf .deploy/linux-command.docset.tgz
# docker image build -t linux-command .

# - name: Tags & Push image(latest)
# run: |
# docker tag linux-command ${{ secrets.DOCKER_USER }}/linux-command:latest
# docker push ${{ secrets.DOCKER_USER }}/linux-command:latest

# - name: Tags & Push image
# if: steps.create_tag.outputs.successful
# run: |
# echo "outputs.tag - ${{ steps.changelog.outputs.version }}"
# docker tag linux-command ${{ secrets.DOCKER_USER }}/linux-command:${{steps.changelog.outputs.version}}
# docker push ${{ secrets.DOCKER_USER }}/linux-command:${{steps.changelog.outputs.version}}

# # Create Docker Image in Github
# - name: Login to GitHub registry
# run: echo ${{ github.token }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin

# - name: Build docker image
# run: docker build -t ghcr.io/jaywcjlove/linux-command:latest .

# - name: Publish to GitHub registry
# run: docker push ghcr.io/jaywcjlove/linux-command:latest

# - name: Tag docker image (beta) and publish to GitHub registry
# if: steps.create_tag.outputs.successful
# run: |
# echo "version: v${{ steps.changelog.outputs.version }}"
# docker tag ghcr.io/jaywcjlove/linux-command:latest ghcr.io/jaywcjlove/linux-command:${{steps.changelog.outputs.version}}
# docker push ghcr.io/jaywcjlove/linux-command:${{steps.changelog.outputs.version}}
40 changes: 40 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Upstream Sync

permissions:
contents: write

on:
schedule:
- cron: "0 0 * * *" # every day
workflow_dispatch:

jobs:
sync_latest_from_upstream:
name: Sync latest commits from upstream repo
runs-on: ubuntu-latest
if: ${{ github.event.repository.fork }}

steps:
# Step 1: run a standard checkout action
- name: Checkout target repo
uses: actions/checkout@v4

# Step 2: run the sync action
- name: Sync upstream changes
id: sync
uses: aormsby/[email protected]
with:
upstream_sync_repo: jaywcjlove/linux-command
upstream_sync_branch: master
target_sync_branch: master
target_repo_token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, no need to set

# Set test_mode true to run tests instead of the true action!!
test_mode: false

- name: Sync check
if: failure()
run: |
echo "[Error] 由于上游仓库的 workflow 文件变更,导致 GitHub 自动暂停了本次自动更新,你需要手动 Sync Fork 一次。"
echo "[Error] Due to a change in the workflow file of the upstream repository, GitHub has automatically suspended the scheduled automatic update. You need to manually sync your fork."
exit 1
Loading