Skip to content

chore: add gitignore file. #6

chore: add gitignore file.

chore: add gitignore file. #6

Workflow file for this run

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: "DevHub"
description: A feature-rich offline application, is meticulously crafted to support developers in their daily tasks while ensuring the utmost security of their data
keywords: DevHub,Offline app,Developer,tools,Advanced debugging,Testing,utilities,Feature-rich,Coding,Toolkit
favicon: assets/logo.png
logo: ./assets/logo.png
openSource: https://github.com/jaywcjlove/TextSoundSaver
tocs: false
element:
wrapper: style=max-width:720px;
menus:
Home: index.html
Apps: https://wangchujiang.com/#/app
About: https://wangchujiang.com/#/about
footer: |
<a href="https://wangchujiang.com/#/app" target="_blank">App</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: npm install idoc@1.28.1 -g
- run: idoc
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
commit_message: ${{ github.event.head_commit.message }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist