更新 .gitea/workflows/sync.yml

This commit is contained in:
2024-06-26 19:15:16 +08:00
parent 2f037e16eb
commit b073a4f410

View File

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