mirror of
https://github.com/EpicMorg/atlassian-json.git
synced 2024-12-27 07:05:31 +03:00
Update json-master.yml
This commit is contained in:
parent
bc1131bbdb
commit
5ed3544b16
33
.github/workflows/json-master.yml
vendored
33
.github/workflows/json-master.yml
vendored
@ -41,34 +41,19 @@ jobs:
|
||||
ls -las
|
||||
./update.sh
|
||||
cd ..
|
||||
|
||||
- name: Commit changes
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: Atlassian JSON Autoupdated
|
||||
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
|
||||
|
||||
# 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:
|
||||
# github_token: ${{ secrets.GHT }}
|
||||
# commit_message: Atlassian JSON updated
|
||||
#
|
||||
# - name: Create Release
|
||||
# id: create_release
|
||||
# uses: actions/create-release@v1
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GHT }}
|
||||
# with:
|
||||
# tag_name: ${{ env.RELEASE_DATE }}
|
||||
# release_name: Release ${{ env.RELEASE_DATE }}
|
||||
# body: |
|
||||
# Changes in this Release
|
||||
# - Atlassian JSON updated ${{ env.RELEASE_DATE }}
|
||||
# draft: false
|
||||
# prerelease: false
|
||||
- name: "Run if no changes have been detected"
|
||||
if: steps.auto-commit-action.outputs.changes_detected == 'false'
|
||||
run: echo "No Changes!"
|
Loading…
Reference in New Issue
Block a user