1
All checks were successful
tj-sync-to-github / build (push) Successful in 1m51s
az-vnr-patch-sync-to-github / build (push) Successful in 5s
sr-sync-to-github / build (push) Successful in 1m6s
az-more-slots-sync-to-github / build (push) Successful in 4s

This commit is contained in:
azw
2024-06-26 21:05:11 +08:00
parent ebe4dfdc58
commit 59d0817376
4 changed files with 100 additions and 2 deletions

View File

@@ -0,0 +1,33 @@
name: az-more-slots-sync-to-github
run-name:
on:
schedule:
- cron: '50 */3 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: clone
run: |
git clone https://x-access-token:${{ secrets.ACCESS_TOKEN }}@git.azw.net.cn/azurlane-hoi4/az-more-slots.git
ls -lh
- name: az-more-slots
run: |
git clone https://github.com/Azurlane-HOI-mod/MoreSlots.git
ls -lh
cd MoreSlots
ls -lh
git checkout master
rm -rf src
rm -rf README
mv ../az-more-slots/src .
mv ../az-more-slots/README .
git config --local user.email Cheshire[bot]@users.noreply.github.com
git config --local user.name 柴郡[bot]
git add .
git commit --allow-empty -m "$(date '+%Y-%m-%d %H:%M:%S')"
git push https://x-access-token:${{ secrets.AZW_PHY_GITHUB_TOKEN }}@github.com/Azurlane-HOI-mod/MoreSlots.git
- name: cleanup
run: |
rm -rf az-more-slots
ls -lh

View File

@@ -2,8 +2,7 @@ name: sr-sync-to-github
run-name:
on:
schedule:
- cron: '0 */3 * * *'
push:
- cron: '35 */3 * * *'
jobs:
build:
runs-on: ubuntu-latest

View File

@@ -0,0 +1,33 @@
name: tj-sync-to-github
run-name:
on:
schedule:
- cron: '5 */3 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: clone
run: |
git clone https://x-access-token:${{ secrets.ACCESS_TOKEN }}@git.azw.net.cn/azurlane-hoi4/azurlane-tj.git
ls -lh
- name: tj
run: |
git clone https://github.com/Azurlane-HOI-mod/Azurlane-TJ.git
ls -lh
cd Azurlane-TJ
ls -lh
git checkout master
rm -rf src
rm -rf README
mv ../azurlane-tj/src .
mv ../azurlane-tj/README .
git config --local user.email Cheshire[bot]@users.noreply.github.com
git config --local user.name 柴郡[bot]
git add .
git commit --allow-empty -m "$(date '+%Y-%m-%d %H:%M:%S')"
git push https://x-access-token:${{ secrets.AZW_PHY_GITHUB_TOKEN }}@github.com/Azurlane-HOI-mod/Azurlane-TJ.git
- name: cleanup
run: |
rm -rf azurlane-tj
ls -lh

View File

@@ -0,0 +1,33 @@
name: az-vnr-patch-sync-to-github
run-name:
on:
schedule:
- cron: '20 */3 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: clone
run: |
git clone https://x-access-token:${{ secrets.ACCESS_TOKEN }}@git.azw.net.cn/azurlane-hoi4/az-vnr-patch.git
ls -lh
- name: az-vnr-patch
run: |
git clone https://github.com/Azurlane-HOI-mod/VNR-Patch.git
ls -lh
cd VNR-Patch
ls -lh
git checkout master
rm -rf src
rm -rf README
mv ../az-vnr-patch/src .
mv ../az-vnr-patch/README .
git config --local user.email Cheshire[bot]@users.noreply.github.com
git config --local user.name 柴郡[bot]
git add .
git commit --allow-empty -m "$(date '+%Y-%m-%d %H:%M:%S')"
git push https://x-access-token:${{ secrets.AZW_PHY_GITHUB_TOKEN }}@github.com/Azurlane-HOI-mod/VNR-Patch.git
- name: cleanup
run: |
rm -rf az-vnr-patch
ls -lh