mirror of
https://github.com/jaywcjlove/awesome-mac.git
synced 2026-04-11 14:21:52 +08:00
Wire RSS feed into docs and CI
This commit is contained in:
parent
bfb0f5169b
commit
8c3415f481
60
.github/workflows/ci.yml
vendored
60
.github/workflows/ci.yml
vendored
@ -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: |
|
||||
# [](https://jaywcjlove.github.io/#/sponsor) [](https://uiwjs.github.io/npm-unpkg/#/pkg/awesome-mac@${{steps.create_tag.outputs.versionNumber}}/file/README.md) [](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}}
|
||||
@ -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] は**無料**で使用可能、または**無料**の個人ライセンスを意味します。\
|
||||
|
||||
@ -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] 은 **무료**로 사용 가능하거나 **무료** 개인 라이선스를 의미합니다.\
|
||||
|
||||
@ -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] 表示 **免费** 使用,或者个人 **免费** ;\
|
||||
|
||||
@ -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;\
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
[](https://hub.docker.com/r/wcjiang/awesome-mac)
|
||||
[](./command-line-apps.md)
|
||||
[](./command-line-apps-ja.md)
|
||||
[](./command-line-apps-ko.md)
|
||||
[](./command-line-apps-ko.md)
|
||||
<!--rehype:style=text-align: center;-->
|
||||
|
||||
一份精心挑选的有用命令行应用列表
|
||||
|
||||
11
idoc.yml
11
idoc.yml
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user