Wire RSS feed into docs and CI

This commit is contained in:
小弟调调 2026-03-30 23:12:24 +08:00
parent bfb0f5169b
commit 8c3415f481
7 changed files with 18 additions and 63 deletions

View File

@ -19,6 +19,8 @@ jobs:
- run: npm install
- run: npm run build
- run: npm run create:ast
- run: npm run feed
- run: cp -rp feed/*.xml dist
- name: Deploy
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
@ -64,6 +66,8 @@ jobs:
npm i awesome-mac@${{steps.create_tag.outputs.versionNumber}}
# dist/awesome-mac.json
# dist/awesome-mac.zh.json
# dist/awesome-mac.ja.json
# dist/awesome-mac.ko.json
```
## Docker
@ -84,46 +88,6 @@ jobs:
http://localhost:9881/
```
# - name: Create Release
# uses: ncipollo/release-action@v1
# if: steps.create_tag.outputs.successful
# with:
# name: ${{ steps.create_tag.outputs.version }}
# tag: ${{ steps.create_tag.outputs.version }}
# token: ${{ secrets.GITHUB_TOKEN }}
# body: |
# [![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor) [![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/awesome-mac@${{steps.create_tag.outputs.versionNumber}}/file/README.md) [![Docker Image Version (latest by date)](https://img.shields.io/docker/v/wcjiang/awesome-mac?logo=docker)](https://hub.docker.com/r/wcjiang/awesome-mac)
# Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/jaywcjlove/awesome-mac/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
# Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
# ${{ steps.changelog.outputs.changelog }}
# ```bash
# npm i awesome-mac@${{steps.create_tag.outputs.versionNumber}}
# # dist/awesome-mac.json
# # dist/awesome-mac.zh.json
# ```
# ## Docker
# ```bash
# docker pull wcjiang/awesome-mac:${{steps.changelog.outputs.version}}
# ```
# ```bash
# docker run --name awesome-mac --rm -d -p 9881:3000 wcjiang/awesome-mac:${{steps.changelog.outputs.version}}
# # Or
# docker run --name awesome-mac -itd -p 9881:3000 wcjiang/awesome-mac:${{steps.changelog.outputs.version}}
# ```
# Visit the following URL in your browser
# ```bash
# http://localhost:9881/
# ```
- run: npm publish --access public --provenance
continue-on-error: true
@ -156,19 +120,3 @@ jobs:
env:
DOCKER_USER: ${{ secrets.DOCKER_USER }}
# 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/awesome-mac:latest .
# - name: Publish to GitHub registry
# run: docker push ghcr.io/jaywcjlove/awesome-mac: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/awesome-mac:latest ghcr.io/jaywcjlove/awesome-mac:${{steps.changelog.outputs.version}}
# docker push ghcr.io/jaywcjlove/awesome-mac:${{steps.changelog.outputs.version}}

View File

@ -47,7 +47,7 @@ Awesome Mac
****
[English](README.md) | [](README-zh.md) | [](README-ko.md) | [](./command-line-apps-ja.md) | [Swift macOSアプリ](https://github.com/jaywcjlove/awesome-swift-macos-apps)
[English](README.md) | [](README-zh.md) | [](README-ko.md) | [RSS](./feed/feed-ja.md) | [](./command-line-apps-ja.md) | [Swift macOSアプリ](https://github.com/jaywcjlove/awesome-swift-macos-apps)
![Open-Source Software][OSS Icon] ****\
![Freeware][Freeware Icon] ****使****\

View File

@ -47,7 +47,7 @@ Awesome Mac
****
[English](./README.md) | [](./README-zh.md) | [](./README-ja.md) | [ ](./command-line-apps-ko.md) | [ Swift macOS ](https://github.com/jaywcjlove/awesome-swift-macos-apps)
[English](./README.md) | [](./README-zh.md) | [](./README-ja.md) | [RSS](./feed/feed-ko.md) | [ ](./command-line-apps-ko.md) | [ Swift macOS ](https://github.com/jaywcjlove/awesome-swift-macos-apps)
![Open-Source Software][OSS Icon] ** ** . .\
![Freeware][Freeware Icon] **** **** .\

View File

@ -51,7 +51,7 @@ Awesome Mac
****
[English](README.md) | [](./README-ko.md) | [](README-ja.md) | [](./command-line-apps-zh.md) | [ Swift macOS ](https://github.com/jaywcjlove/awesome-swift-macos-apps)
[English](README.md) | [](./README-ko.md) | [](README-ja.md) | [RSS](./feed/feed-zh.md) | [](./command-line-apps-zh.md) | [ Swift macOS ](https://github.com/jaywcjlove/awesome-swift-macos-apps)
![Open-Source Software][OSS Icon] **** **** \
![Freeware][Freeware Icon] **** 使 **** \

View File

@ -50,7 +50,7 @@ If you have any suggestions, ideas, or discover excellent software, feel free to
**Explanation**
[](README-zh.md) | [](README-ko.md) | [](README-ja.md) | [Awesome Command Line Apps](./command-line-apps.md) | [Awesome Swift macOS Apps](https://github.com/jaywcjlove/awesome-swift-macos-apps)
[](README-zh.md) | [](README-ko.md) | [](README-ja.md) | [RSS](./feed/feed.md) | [Awesome Command Line Apps](./command-line-apps.md) | [Awesome Swift macOS Apps](https://github.com/jaywcjlove/awesome-swift-macos-apps)
![Open-Source Software][OSS Icon] means **open source**. click the icon to see the item's repository;\
![Freeware][Freeware Icon] means **free** to use, or **free** personal license;\

View File

@ -36,7 +36,7 @@
[![Docker Image Version (latest by date)](https://img.shields.io/docker/v/wcjiang/awesome-mac?logo=docker)](https://hub.docker.com/r/wcjiang/awesome-mac)
[![English List](https://jaywcjlove.github.io/sb/lang/english.svg)](./command-line-apps.md)
[![Japanese List](https://jaywcjlove.github.io/sb/lang/japanese.svg)](./command-line-apps-ja.md)
[![Korean List](https://jaywcjlove.github.io/sb/lang/english.svg)](./command-line-apps-ko.md)
[![Korean List](https://jaywcjlove.github.io/sb/lang/korean.svg)](./command-line-apps-ko.md)
<!--rehype:style=text-align: center;-->
一份精心挑选的有用命令行应用列表

View File

@ -10,12 +10,15 @@ dir: ./doc
menus:
Home: index.html
Recommended:
Top Picks:
url: https://github.com/jaywcjlove/awesome-mac/issues
target: __blank
Link failure Report:
Report:
url: https://github.com/jaywcjlove/awesome-mac/issues
target: __blank
RSS:
url: feed/feed.html
target: __blank
sideEffectFiles:
- README-zh.md
@ -28,6 +31,10 @@ sideEffectFiles:
- command-line-apps-zh.md
- command-line-apps-ko.md
- command-line-apps-ja.md
- feed/feed.md
- feed/feed-zh.md
- feed/feed-ja.md
- feed/feed-ko.md
footer: |
This work is licensed under a <a href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.<br>