更新 .gitea/workflows/sync.yml

This commit is contained in:
2024-06-26 19:15:50 +08:00
parent 338bc7c6b5
commit c40ca94936

View File

@@ -10,7 +10,7 @@ jobs:
- name: Clone repository - name: Clone repository
run: | run: |
ls -lh ls -lh
rm -rf azurlane-sr rm -rf az-vnr-patch
git -c http.sslVerify=false clone -b main https://${{ secrets.ACCESS_TOKEN }}@${{ secrets.URI }}/${{ github.repository }}.git git -c http.sslVerify=false clone -b main https://${{ secrets.ACCESS_TOKEN }}@${{ secrets.URI }}/${{ github.repository }}.git
- name: sync currect file - name: sync currect file
run: | run: |
@@ -20,14 +20,14 @@ jobs:
- name: clean src and copy to src - name: clean src and copy to src
run: | run: |
ls -lh ls -lh
cd azurlane-sr cd az-vnr-patch
rm -rf src rm -rf src
ls -lh ls -lh
cp -r /home/steam/Steam/steamapps/workshop/content/394360/3115864680 src cp -r /home/steam/Steam/steamapps/workshop/content/394360/3115864680 src
- name: commit and push - name: commit and push
run: | run: |
ls -lh ls -lh
cd azurlane-sr cd az-vnr-patch
ls -lh ls -lh
git config --local user.email "actions[bot]@users.noreply.github.com" git config --local user.email "actions[bot]@users.noreply.github.com"
git config --local user.name "actions[bot]" git config --local user.name "actions[bot]"