|
@@ -58,12 +58,8 @@ jobs:
|
|
|
git config user.name "GitHub Action"
|
|
git config user.name "GitHub Action"
|
|
|
git config user.email "action@github.com"
|
|
git config user.email "action@github.com"
|
|
|
git add .
|
|
git add .
|
|
|
- if git status --porcelain | grep .; then
|
|
|
|
|
- git commit -m "Update compiled client from Civ14 - changed files only"
|
|
|
|
|
- git push
|
|
|
|
|
- else
|
|
|
|
|
- echo "No changes detected, skipping commit and push"
|
|
|
|
|
- fi
|
|
|
|
|
|
|
+ git commit -m "Update compiled client from Civ14"
|
|
|
|
|
+ git push
|
|
|
cd -
|
|
cd -
|
|
|
# Copy compiled output to target-repo/
|
|
# Copy compiled output to target-repo/
|
|
|
rsync -av --ignore-existing ./../bin/Content.Server/win-x64/ Content.Server/ || true
|
|
rsync -av --ignore-existing ./../bin/Content.Server/win-x64/ Content.Server/ || true
|
|
@@ -71,9 +67,5 @@ jobs:
|
|
|
git config user.name "GitHub Action"
|
|
git config user.name "GitHub Action"
|
|
|
git config user.email "action@github.com"
|
|
git config user.email "action@github.com"
|
|
|
git add .
|
|
git add .
|
|
|
- if git status --porcelain | grep .; then
|
|
|
|
|
- git commit -m "Update compiled server from Civ14 - changed files only"
|
|
|
|
|
- git push
|
|
|
|
|
- else
|
|
|
|
|
- echo "No changes detected, skipping commit and push"
|
|
|
|
|
- fi
|
|
|
|
|
|
|
+ git commit -m "Update compiled server from Civ14 - changed files only"
|
|
|
|
|
+ git push
|