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
./update.sh
cd ..
git add .
git commit -am "Atlassian JSON autoupdated"
git push
exit 0
- name: "Run if changes have been detected"
if: steps.auto-commit-action.outputs.changes_detected == 'true'
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
# uses: devops-infra/action-commit-push@master
# with: