Update json-master.yml

This commit is contained in:
stam 2021-01-17 03:01:31 +03:00
parent 58e5a1c154
commit a2fe4446de

View File

@ -41,10 +41,19 @@ jobs:
ls -las ls -las
./update.sh ./update.sh
cd .. cd ..
git add .
git commit -am "Atlassian JSON autoupdated" - name: "Run if changes have been detected"
git push if: steps.auto-commit-action.outputs.changes_detected == 'true'
exit 0 run: echo "Changes!"
- name: "Run if no changes have been detected"
if: steps.auto-commit-action.outputs.changes_detected == 'false'
run: echo "No Changes!"
# git add .
# git commit -am "Atlassian JSON autoupdated"
# git push
# exit 0
# - name: Commit and push changes # - name: Commit and push changes
# uses: devops-infra/action-commit-push@master # uses: devops-infra/action-commit-push@master
# with: # with: