-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
8e5b708
commit 31bff91
Showing
2 changed files
with
31 additions
and
10 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 |
---|---|---|
|
@@ -9,17 +9,38 @@ jobs: | |
contents: write | ||
id-token: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
node-version: 20 | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- run: npm install | ||
- run: npm run build | ||
working-directory: core | ||
|
||
- run: npm install [email protected] -g | ||
- run: npm install idoc@1 -g | ||
|
||
- name: Create idoc config. | ||
run: | | ||
cat > idoc.yml << EOF | ||
site: "Auto Config Loader {{version}}" | ||
menus: | ||
Home: index.html | ||
Apps: | ||
url: https://wangchujiang.com/#/app | ||
target: __blank | ||
Sponsor: | ||
url: https://wangchujiang.com/#/sponsor | ||
target: __blank | ||
footer: | | ||
<a href="https://wangchujiang.com/#/contact" target="_blank">Contact</a> • | ||
<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: idoc -s "Auto Config Loader {{version}}" | ||
working-directory: core | ||
|
||
|
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