-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit aeda5e1
Showing
3 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ko_fi: jaywcjlove | ||
buy_me_a_coffee: jaywcjlove | ||
custom: ["https://www.paypal.me/kennyiseeyou", "https://jaywcjlove.github.io/#/sponsor"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: CI/CD | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Create idoc config. | ||
run: | | ||
cat > idoc.yml << EOF | ||
site: "Xcode Tips" | ||
description: Xcode Tips | ||
keywords: Xcode Tips | ||
openSource: https://github.com/jaywcjlove/xcode-tips | ||
homepage: https://wangchujiang.com/xcode-tips/ | ||
tocs: false | ||
element: | ||
wrapper: style=max-width:720px; | ||
menus: | ||
Home: index.html | ||
Apps: | ||
url: https://wangchujiang.com/#/app | ||
target: __blank | ||
About: | ||
url: https://wangchujiang.com/#/about | ||
target: __blank | ||
footer: | | ||
<a href="https://wangchujiang.com/#/projects" target="_blank">Projects</a> • | ||
<a href="https://wangchujiang.com/#/sponsor" target="_blank">Sponsor</a> • | ||
<a href="https://wangchujiang.com/#/app" target="_blank">More Apps</a><br /><br /> | ||
Generated by <a href="https://github.com/jaywcjlove/idoc" target="_blank">idoc</a> v{{idocVersion}} | ||
EOF | ||
- run: npm install idoc@1 -g | ||
- run: idoc | ||
|
||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v4 | ||
with: | ||
commit_message: ${{ github.event.head_commit.message }} | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Xcode Tips | ||
=== | ||
|