Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xiajieqiong committed Sep 18, 2023
1 parent fc2e4f1 commit a4d7fa8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
uses: AEnterprise/[email protected] # 使用别人包装好的步骤镜像
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }} # 引用配置,SSH私钥
ARGS: -avz --delete --exclude='*.pyc' # rsync参数,排除.pyc文件
ARGS: -avz # rsync参数,排除.pyc文件
SERVER_PORT: ${{ secrets.SSH_PORT }} # SSH端口
FOLDER: ./dist # 要推送的文件夹,路径相对于代码仓库的根目录
SERVER_IP: ${{ secrets.SSH_HOST }} # 引用配置,服务器的host名(IP或者域名domain.com)
Expand All @@ -73,4 +73,4 @@ jobs:
key: ${{ secrets.DEPLOY_KEY }}
# 重启的脚本,根据自身情况做相应改动,一般要做的是migrate数据库以及重启服务器
script: |
nginx -s reload
nginx -s reload
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<link rel="icon" href="https://image.xjq.icu/2023/1/6/1672972760315_study.ico" />

<title>awesome study</title>
<script src="https://image.xjq.icu/statistic/statistic.js" defer></script>
</head>
<body>
<noscript>
Expand Down
6 changes: 6 additions & 0 deletions public/nav.json
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,12 @@
"logo": "https://github.githubassets.com/favicons/favicon.svg",
"desc": "👩‍💻👨‍💻 Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file.",
"href": "https://github.com/LeCoupa/awesome-cheatsheets"
},
{
"name": "Open-Source UI elements - made with CSS",
"logo": "https://uiverse.io//favicon-32x32.png",
"desc": "Library of free and customizable HTML and CSS UI elements. It's all open-source, and it's all free. Try it out to save you many hours spent on building & customizing UI components for your next project.",
"href": "https://uiverse.io/"
}
]
}
Expand Down

0 comments on commit a4d7fa8

Please sign in to comment.