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