diff --git a/.gitea/workflows/sync.yml b/.gitea/workflows/sync.yml index c973c55..8cd5bb4 100644 --- a/.gitea/workflows/sync.yml +++ b/.gitea/workflows/sync.yml @@ -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 \ No newline at end of file + git -c http.sslVerify=false push https://${{ secrets.GITHUB_TOKEN }}@${{ secrets.URI }}/${{ github.repository }}.git \ No newline at end of file