Update json-master.yml

This commit is contained in:
stam 2021-01-17 03:16:24 +03:00
parent b685accc74
commit f113aa5be9

View File

@ -48,12 +48,3 @@ jobs:
commit_user_name: stamepicmorg # defaults to "GitHub Actions"
commit_user_email: stamepicmorg@users.noreply.github.com # defaults to "actions@github.com"
commit_author: stamepicmorg <stamepicmorg@users.noreply.github.com> # defaults to author of the commit that triggered the run
- name: "Run if changes have been detected"
if: steps.auto-commit-action.outputs.changes_detected == 'true'
run: |
echo "Changes!"
curl -s --data-urlencode -X POST ${{ secrets.TLG_URL }} -d chat_id=${{ secrets.TLG_CHAT }} -d text="${{ secrets.TLG_TEXT }}" -d "parse_mode=HTML" >> /dev/null
- name: "Run if no changes have been detected"
if: steps.auto-commit-action.outputs.changes_detected == 'false'
run: echo "No Changes!"