Add changes to syncBranches.yml
This commit is contained in:
parent
5d0f76dced
commit
2cc5863098
|
@ -38,18 +38,13 @@ jobs:
|
||||||
git config --local user.name "$(git log --format=%an | head -n 1)"
|
git config --local user.name "$(git log --format=%an | head -n 1)"
|
||||||
git config --local user.email "$(git log --format=%ae | head -n 1)"
|
git config --local user.email "$(git log --format=%ae | head -n 1)"
|
||||||
mv cocoArtifact/install.sh index.html
|
mv cocoArtifact/install.sh index.html
|
||||||
git status
|
rm -rf cocoArtifact
|
||||||
if [ -z "$(git status --porcelain)" ]; then
|
if [ -z "$(git status --porcelain)" ]; then
|
||||||
echo "Acá funciona?"
|
return
|
||||||
fi
|
fi
|
||||||
git add index.html
|
git add index.html
|
||||||
rm -rf cocoArtifact
|
|
||||||
gStatus=$(git status)
|
|
||||||
if echo $gStatus | grep -q "Changes to be committed"; then
|
|
||||||
echo "Hay cambios sin commitear"
|
|
||||||
git commit -m "Add changes from master branch"
|
git commit -m "Add changes from master branch"
|
||||||
git push
|
git push
|
||||||
fi
|
|
||||||
|
|
||||||
- uses: geekyeggo/delete-artifact@v1
|
- uses: geekyeggo/delete-artifact@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue