We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5968dd commit c2b26abCopy full SHA for c2b26ab
.github/workflows/deploy.yml
@@ -1,4 +1,4 @@
1
-name: Github Actions For Hexo Auto Deploy
+name: Hexo Auto Deploy
2
3
on:
4
push:
@@ -50,6 +50,8 @@ jobs:
50
HEXO_DEPLOY_PRI: ${{secrets.HEXO_DEPLOY_PRI}}
51
run: |
52
sudo timedatectl set-timezone "Asia/Shanghai"
53
+ sudo apt-get update
54
+ sudo apt-get install libnotify-bin
55
mkdir -p ~/.ssh/
56
echo "$HEXO_DEPLOY_PRI" > ~/.ssh/id_rsa
57
chmod 600 ~/.ssh/id_rsa
package.json
@@ -6,7 +6,8 @@
6
"license": "MIT",
7
"private": true,
8
"scripts": {
9
- "test": "echo \"Error: no test specified\" && exit 1"
+ "test": "echo \"Error: no test specified\" && exit 1",
10
+ "deploy": "hexo deploy"
11
},
12
"repository": {
13
"type": "git",
0 commit comments