This repository was archived by the owner on Apr 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (42 loc) · 1.55 KB
/
bot.yaml
File metadata and controls
52 lines (42 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: checker
on: [push]
jobs:
analysis:
runs-on: ubuntu-latest
name: Analyze the relationship between posts and create metadata file automatically
steps:
- uses: actions/checkout@v2
- name: Install deps
uses: VaultVulp/action-pipenv@v2.0.1
with:
command: install
- name: Link zzhack to global bin
uses: VaultVulp/action-pipenv@v2.0.1
with:
command: install -e .
- name: Update post content & update time
uses: VaultVulp/action-pipenv@v2.0.1
with:
command: run zzhack update
- name: Create ref issue of posts
uses: VaultVulp/action-pipenv@v2.0.1
with:
command: run zzhack relation --ak=${{ secrets.BOT_GITHUB_AK }}
- name: Exec zzhack analysis
uses: VaultVulp/action-pipenv@v2.0.1
with:
command: run zzhack analysis
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 🤖️ create root metadata file by robot 🌟
- uses: mshick/add-pr-comment@v1
with:
message: |
⏫Upload static files which generate by zzhack CLI to QINIU CDN successful! 🎉
CDN domain: r1dqqf03a.hn-bkt.clouddn.com
repo-token: ${{ secrets.BOT_GITHUB_AK }}
repo-token-user-login: 'cdn-uploader[bot]'
- name: Exec zzhack upload
uses: VaultVulp/action-pipenv@v2.0.1
with:
command: run zzhack upload --ak=${{ secrets.QINIU_ACCESS_KEY }} --sk=${{ secrets.QINIU_SECRET_KEY }}