Update workflow
This commit is contained in:
22
.github/workflows/syncToGitee.yml
vendored
22
.github/workflows/syncToGitee.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Sync To Gitee
|
||||
name: Auto update commit and sync to gitee
|
||||
|
||||
on: [ push, delete, create ]
|
||||
|
||||
@@ -6,8 +6,28 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
if: github.actor == 'StageGuard'
|
||||
with:
|
||||
persist-credentials: true
|
||||
- name: Update commit hash to gitVersion
|
||||
if: github.actor == 'StageGuard'
|
||||
run: |
|
||||
git show -s --format=%H > gitVersion
|
||||
git add gitVersion
|
||||
- name: Push commit
|
||||
uses: EndBug/add-and-commit@v7.1.2
|
||||
if: github.actor == 'StageGuard'
|
||||
with:
|
||||
add: gitVersion
|
||||
author_name: github-actions[bot]
|
||||
author_email: 41898282+github-actions[bot]@users.noreply.github.com
|
||||
message: Update git tree hash
|
||||
push: true
|
||||
- name: Sync to Gitee
|
||||
uses: wearerequired/git-mirror-action@master
|
||||
if: github.actor == 'StageGuard'
|
||||
env:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
|
||||
with:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
A script to play Sheets generated by [SkyStudio](https://play.google.com/store/apps/details?id=com.Maple.SkyStudio) automatically in game Sky with accessibility services using Auto.js
|
||||
|
||||
[](shared_sheets/) [](#shared-sheets) [](https://www.jsdelivr.com/)
|
||||
[](shared_sheets/) [](#shared-sheets) [](https://www.jsdelivr.com/)
|
||||
|
||||
## Feature
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ English: [README-en.md](README-en.md)
|
||||
|
||||
使用Auto.js提供的无障碍权限实现在Sky光遇中自动弹奏 [SkyStudio](https://play.google.com/store/apps/details?id=com.Maple.SkyStudio) 导出的曲谱
|
||||
|
||||
[](shared_sheets/) [](#共享乐谱) [](https://www.jsdelivr.com/)
|
||||
[](shared_sheets/) [](#共享乐谱) [](https://www.jsdelivr.com/)
|
||||
|
||||
~~不会进一步支持原神的21键琴和上传21键位的共享乐谱,反正15键又不是不能弹。~~
|
||||
|
||||
|
||||
@@ -1,5 +1,23 @@
|
||||
{
|
||||
"sheets": [
|
||||
{
|
||||
"name": "缘之空-遠い空へ",
|
||||
"file": "-遠い空へ.txt",
|
||||
"author": "酷安@cxk的篮球",
|
||||
"desc": "酷安 <a href=http://www.coolapk.com/u/1090769>@cxk的篮球<a/> 分享乐谱 缘之空-遠い空へ",
|
||||
"bpm": 440,
|
||||
"suggested_instrument": 1,
|
||||
"keyCount": 15,
|
||||
"pitchLevel": 2,
|
||||
"noteCount": 1087,
|
||||
"social": [
|
||||
{
|
||||
"platform": "coolapk",
|
||||
"name": "酷安",
|
||||
"link": "http://www.coolapk.com/u/1090769"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "灰澈 - 星茶会",
|
||||
"file": "星茶会(高音钢琴C调).txt",
|
||||
|
||||
BIN
shared_sheets/-遠い空へ.txt
Normal file
BIN
shared_sheets/-遠い空へ.txt
Normal file
Binary file not shown.
Reference in New Issue
Block a user