Skip to content

Commit c2b26ab

Browse files
committed
chore: ga3
1 parent f5968dd commit c2b26ab

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Github Actions For Hexo Auto Deploy
1+
name: Hexo Auto Deploy
22

33
on:
44
push:
@@ -50,6 +50,8 @@ jobs:
5050
HEXO_DEPLOY_PRI: ${{secrets.HEXO_DEPLOY_PRI}}
5151
run: |
5252
sudo timedatectl set-timezone "Asia/Shanghai"
53+
sudo apt-get update
54+
sudo apt-get install libnotify-bin
5355
mkdir -p ~/.ssh/
5456
echo "$HEXO_DEPLOY_PRI" > ~/.ssh/id_rsa
5557
chmod 600 ~/.ssh/id_rsa

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"license": "MIT",
77
"private": true,
88
"scripts": {
9-
"test": "echo \"Error: no test specified\" && exit 1"
9+
"test": "echo \"Error: no test specified\" && exit 1",
10+
"deploy": "hexo deploy"
1011
},
1112
"repository": {
1213
"type": "git",

0 commit comments

Comments
 (0)