Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 49b7050

Browse files
committed
chore: update workflows
1 parent ddc305b commit 49b7050

File tree

7 files changed

+61
-60
lines changed

7 files changed

+61
-60
lines changed

‎.github/workflows/compress.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Compress
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- "**.jpg"
8+
- "**.jpeg"
9+
- "**.png"
10+
- "**.webp"
11+
12+
jobs:
13+
compress:
14+
runs-on: ubuntu-latest
15+
if: github.repository == 'yanglbme/redis-multi-programming-language-practice'
16+
steps:
17+
- name: Checkout Branch
18+
uses: actions/checkout@v2
19+
20+
- name: Compress Images
21+
uses: calibreapp/image-actions@master
22+
with:
23+
githubToken: ${{ secrets.GITHUB_TOKEN }}
24+
compressOnly: true
25+
26+
- name: Commit Files
27+
run: |
28+
git config --local user.email "action@github.com"
29+
git config --local user.name "GitHub Action"
30+
git commit -m "[Automated] Optimize images" -a
31+
32+
- name: Push Changes
33+
uses: ad-m/github-push-action@master
34+
with:
35+
github_token: ${{ secrets.GITHUB_TOKEN }}

‎.github/workflows/gradle.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

‎.github/workflows/pytest.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

‎.github/workflows/sync.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Sync
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
sync:
9+
runs-on: ubuntu-latest
10+
if: github.repository == 'yanglbme/redis-multi-programming-language-practice'
11+
steps:
12+
- name: Sync to gitee.com
13+
uses: wearerequired/git-mirror-action@master
14+
env:
15+
SSH_PRIVATE_KEY: ${{ secrets.RSA_PRIVATE_KEY }}
16+
with:
17+
source-repo: git@github.com:yanglbme/redis-multi-programming-language-practice.git
18+
destination-repo: git@gitee.com:yanglbme/redis-multi-programming-language-practice.git
19+
20+
# - name: Build Gitee Pages
21+
# uses: yanglbme/gitee-pages-action@main
22+
# with:
23+
# gitee-username: yanglbme
24+
# gitee-password: ${{ secrets.GITEE_PASSWORD }}
25+
# gitee-repo: yanglbme/redis-multi-programming-language-practice
26+
# branch: main

‎.nojekyll

Whitespace-only changes.

‎README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Redis 底层原理分析与多语言应用实践<sup>[©](https://github.com/yanglbme)</sup>
22

3-
[![java-ci](https://github.com/yanglbme/redis-multi-programming-language-practice/workflows/Java%20CI/badge.svg)](https://github.com/yanglbme/redis-multi-programming-language-practice/actions)
43
[![prs-welcome](https://badgen.net/badge/PRs/welcome/green)](http://makeapullrequest.com)
54
[![doocs-open-source-organization](https://badgen.net/badge/organization/join%20us/cyan)](https://doocs.github.io/#/?id=how-to-join)
65
[![gitter](https://badgen.net/badge/gitter/chat/cyan)](https://gitter.im/doocs)
@@ -43,8 +42,3 @@
4342
### [HyperLogLog](/docs/redis-hyperLogLog-introduction.md)
4443

4544
### [Bitmap 位图](/docs/redis-bitmap-introduction.md)
46-
47-
## 参考资料
48-
49-
- Redis 深度历险[2018]
50-
- Redis 使用手册[2019]

‎index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
]
6464
}
6565
</script>
66-
<!-- Docsify v4 -->
6766
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
6867
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-c.min.js"></script>
6968
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-go.min.js"></script>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /