We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3824cb0 commit 6f97430Copy full SHA for 6f97430
.github/workflows/schedule.yml
@@ -0,0 +1,33 @@
1
+name: schedule
2
+
3
+on:
4
+ schedule:
5
+ - cron: "0 0 * * *"
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Clone repository
13
+ uses: actions/checkout@v2
14
15
+ - name: Install deno
16
+ uses: denolib/setup-deno@master
17
18
+ - name: Run deno
19
+ run: |
20
+ git config --local user.email "2979986590@qq.com"
21
+ git config --local user.name "webVueBlog"
22
+ git remote set-url origin https://${{ github.actor }}:${{ secrets.AWESOME_CSS_TOKEN }}@github.com/${{ github.repository }}
23
+ git pull
24
+ set -e
25
+ yarn build
26
+ printf "打包成功\n"
27
+ cd docs/.vuepress/dist
28
+ git init
29
+ git checkout -b dist
30
+ git add -A
31
+ git commit -m 'awesome-css github-pages'
32
+ git push
33
+ printf "提交成功\n"
0 commit comments