Skip to content

Commit

Permalink
chore: Add plugins and CNAME
Browse files Browse the repository at this point in the history
  • Loading branch information
WCY-dt committed Jun 17, 2024
1 parent fbac941 commit 944c559
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,21 @@ jobs:
echo ' }' >> index.html
echo ' </script>' >> index.html
echo ' <script src="https://cdn.jsdelivr.net/npm/docsify@4"></script>' >> index.html
echo ' <script src="https://cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>' >> index.html
echo ' <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>' >> index.html
echo ' <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-json.min.js"></script>' >> index.html
echo ' <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-markdown.min.js"></script>' >> index.html
echo ' <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-python.min.js"></script>' >> index.html
echo ' <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-yaml.min.js"></script>' >> index.html
echo ' <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-powershell.min.js"></script>' >> index.html
echo ' <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-batch.min.js"></script>' >> index.html
echo ' <script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-shell.min.js"></script>' >> index.html
echo '</body>' >> index.html
echo '</html>' >> index.html
- name: Generate .nojekyll
run: touch .nojekyll
- name: Generate CNAME
run: echo 'til.ch3nyang.top' > CNAME
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
Expand Down
3 changes: 1 addition & 2 deletions CMD/查看笔记本电池使用情况.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

CMD 输入:

```cmd
```batch
powercfg /batteryreport /output "D:\battery_report.html"
```

0 comments on commit 944c559

Please sign in to comment.