1
This commit is contained in:
@@ -24,6 +24,20 @@ jobs:
|
||||
mv ../az-more-slots/README .
|
||||
git config --local user.email Cheshire[bot]@users.noreply.github.com
|
||||
git config --local user.name 柴郡[bot]
|
||||
- name: check diff
|
||||
id: check_changes
|
||||
run: |
|
||||
ls -lh
|
||||
cd MoreSlots
|
||||
ls -lh
|
||||
if [ -z "$(git status --porcelain)" ]; then
|
||||
echo "::set-output name=has_changes::false"
|
||||
else
|
||||
echo "::set-output name=has_changes::true"
|
||||
fi
|
||||
- name: push
|
||||
if: ${{ steps.check_changes.outputs.has_changes == 'true' }}
|
||||
run: |
|
||||
git add .
|
||||
git commit --allow-empty -m "$(date '+%Y-%m-%d %H:%M:%S')"
|
||||
git push https://x-access-token:${{ secrets.AZW_PHY_ACCESS_TOKEN }}@github.com/Azurlane-HOI-mod/MoreSlots.git
|
||||
|
||||
@@ -24,6 +24,20 @@ jobs:
|
||||
mv ../azurlane-sr/README .
|
||||
git config --local user.email Cheshire[bot]@users.noreply.github.com
|
||||
git config --local user.name 柴郡[bot]
|
||||
- name: check diff
|
||||
id: check_changes
|
||||
run: |
|
||||
ls -lh
|
||||
cd Azurlane-SR
|
||||
ls -lh
|
||||
if [ -z "$(git status --porcelain)" ]; then
|
||||
echo "::set-output name=has_changes::false"
|
||||
else
|
||||
echo "::set-output name=has_changes::true"
|
||||
fi
|
||||
- name: push
|
||||
if: ${{ steps.check_changes.outputs.has_changes == 'true' }}
|
||||
run: |
|
||||
git add .
|
||||
git commit --allow-empty -m "$(date '+%Y-%m-%d %H:%M:%S')"
|
||||
git push https://x-access-token:${{ secrets.AZW_PHY_ACCESS_TOKEN }}@github.com/Azurlane-HOI-mod/Azurlane-SR.git
|
||||
|
||||
@@ -24,6 +24,20 @@ jobs:
|
||||
mv ../azurlane-tj/README .
|
||||
git config --local user.email Cheshire[bot]@users.noreply.github.com
|
||||
git config --local user.name 柴郡[bot]
|
||||
- name: check diff
|
||||
id: check_changes
|
||||
run: |
|
||||
ls -lh
|
||||
cd Azurlane-TJ
|
||||
ls -lh
|
||||
if [ -z "$(git status --porcelain)" ]; then
|
||||
echo "::set-output name=has_changes::false"
|
||||
else
|
||||
echo "::set-output name=has_changes::true"
|
||||
fi
|
||||
- name: push
|
||||
if: ${{ steps.check_changes.outputs.has_changes == 'true' }}
|
||||
run: |
|
||||
git add .
|
||||
git commit --allow-empty -m "$(date '+%Y-%m-%d %H:%M:%S')"
|
||||
git push https://x-access-token:${{ secrets.AZW_PHY_ACCESS_TOKEN }}@github.com/Azurlane-HOI-mod/Azurlane-TJ.git
|
||||
|
||||
@@ -24,6 +24,20 @@ jobs:
|
||||
mv ../az-vnr-patch/README .
|
||||
git config --local user.email Cheshire[bot]@users.noreply.github.com
|
||||
git config --local user.name 柴郡[bot]
|
||||
- name: check diff
|
||||
id: check_changes
|
||||
run: |
|
||||
ls -lh
|
||||
cd VNR-Patch
|
||||
ls -lh
|
||||
if [ -z "$(git status --porcelain)" ]; then
|
||||
echo "::set-output name=has_changes::false"
|
||||
else
|
||||
echo "::set-output name=has_changes::true"
|
||||
fi
|
||||
- name: push
|
||||
if: ${{ steps.check_changes.outputs.has_changes == 'true' }}
|
||||
run: |
|
||||
git add .
|
||||
git commit --allow-empty -m "$(date '+%Y-%m-%d %H:%M:%S')"
|
||||
git push https://x-access-token:${{ secrets.AZW_PHY_ACCESS_TOKEN }}@github.com/Azurlane-HOI-mod/VNR-Patch.git
|
||||
|
||||
Reference in New Issue
Block a user