更新 .gitea/workflows/sync.yml
All checks were successful
sync / build (push) Successful in 6s

This commit is contained in:
azw
2024-11-28 04:13:32 +08:00
parent 1debf26c93
commit b6bfd83812

View File

@@ -13,7 +13,7 @@ jobs:
run: |
ls -lh
rm -rf az-vnr-patch
git -c http.sslVerify=false clone https://${{ secrets.ACCESS_TOKEN }}@${{ secrets.URI }}/${{ github.repository }}.git
git -c http.sslVerify=false clone https://${{ secrets.GITHUB_TOKEN }}@${{ secrets.URI }}/${{ github.repository }}.git
- name: sync currect file
run: |
cd /home/steam/steamcmd
@@ -32,7 +32,7 @@ jobs:
cp /home/steam/Steam/steamapps/workshop/content/394360/3115864680/descriptor.mod src/descriptor.mod
- name: rebuild src
run: |
curl -X 'GET' -O https://${{ secrets.URI }}/azurlane-hoi4/vnr/releases/download/Diff/archive.zip -H 'Authorization: token ${{ secrets.ACCESS_TOKEN }}'
curl -X 'GET' -O https://${{ secrets.URI }}/azurlane-hoi4/vnr/releases/download/Diff/archive.zip -H 'Authorization: token ${{ secrets.GITHUB_TOKEN }}'
unzip archive.zip
cp -r src/* az-vnr-patch/src/
rm -rf src
@@ -58,4 +58,4 @@ jobs:
git config --local user.name "actions[bot]"
git add .
git commit --allow-empty -m "$(date '+%Y-%m-%d %H:%M:%S')"
git -c http.sslVerify=false push https://${{ secrets.ACCESS_TOKEN }}@${{ secrets.URI }}/${{ github.repository }}.git
git -c http.sslVerify=false push https://${{ secrets.GITHUB_TOKEN }}@${{ secrets.URI }}/${{ github.repository }}.git