Fix bug in yml
This commit is contained in:
parent
2cc5863098
commit
a304a7d10e
|
@ -39,12 +39,11 @@ jobs:
|
||||||
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
|
||||||
rm -rf cocoArtifact
|
rm -rf cocoArtifact
|
||||||
if [ -z "$(git status --porcelain)" ]; then
|
if [ ! -z "$(git status --porcelain)" ]; then
|
||||||
return
|
git add index.html
|
||||||
|
git commit -m "Add changes from master branch"
|
||||||
|
git push
|
||||||
fi
|
fi
|
||||||
git add index.html
|
|
||||||
git commit -m "Add changes from master branch"
|
|
||||||
git push
|
|
||||||
|
|
||||||
- uses: geekyeggo/delete-artifact@v1
|
- uses: geekyeggo/delete-artifact@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue