更新 .gitea/workflows/sync.yml
This commit is contained in:
@@ -12,7 +12,7 @@ jobs:
|
||||
- name: Clone repository
|
||||
run: |
|
||||
ls -lh
|
||||
rm -rf UTTNH
|
||||
rm -rf uttnh
|
||||
git -c http.sslVerify=false clone -b main https://${{ secrets.GITHUB_TOKEN }}@${{ secrets.URI }}/${{ github.repository }}.git
|
||||
- name: sync currect file
|
||||
run: |
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
- name: clean src and copy to src
|
||||
run: |
|
||||
ls -lh
|
||||
cd UTTNH
|
||||
cd uttnh
|
||||
rm -rf src
|
||||
ls -lh
|
||||
cp -r /home/steam/Steam/steamapps/workshop/content/394360/3413890094 src
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
id: check_changes
|
||||
run: |
|
||||
ls -lh
|
||||
cd UTTNH
|
||||
cd uttnh
|
||||
ls -lh
|
||||
if [ -z "$(git status --porcelain)" ]; then
|
||||
echo "::set-output name=has_changes::false"
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
if: ${{ steps.check_changes.outputs.has_changes == 'true' }}
|
||||
run: |
|
||||
ls -lh
|
||||
cd UTTNH
|
||||
cd uttnh
|
||||
ls -lh
|
||||
git config --local user.email "actions[bot]@users.noreply.github.com"
|
||||
git config --local user.name "actions[bot]"
|
||||
|
||||
Reference in New Issue
Block a user