mirror of
https://github.com/EpicMorg/atlassian-json.git
synced 2025-02-05 10:10:31 +03:00
Update json-master.yml
This commit is contained in:
parent
1f647aeb66
commit
5504613fbe
18
.github/workflows/json-master.yml
vendored
18
.github/workflows/json-master.yml
vendored
@ -13,16 +13,17 @@ on:
|
|||||||
- cron: '0 0-23 * * *' # every hour
|
- cron: '0 0-23 * * *' # every hour
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
update:
|
||||||
|
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Configure git
|
- name: Configure git
|
||||||
run: |
|
run: |
|
||||||
cd /json-backups
|
cd json-backups
|
||||||
ls -las
|
ls -las
|
||||||
git config --global user.name "github-actions[bot]"
|
git config --global user.name "github-actions[bot]"
|
||||||
git config --global user.email "stamepicmorg@users.noreply.github.com"
|
git config --global user.email "stamepicmorg@users.noreply.github.com"
|
||||||
@ -33,8 +34,9 @@ jobs:
|
|||||||
ls -las
|
ls -las
|
||||||
./update.sh
|
./update.sh
|
||||||
|
|
||||||
- name: Push updates
|
- name: Commit and push changes
|
||||||
run: |
|
uses: devops-infra/action-commit-push@master
|
||||||
git add -A
|
with:
|
||||||
git commit -am "update"
|
github_token: ${{ secrets.GHT }}
|
||||||
git push
|
commit_message: Atlassian JSON updated
|
||||||
|
commit_prefix: "[AUTO-COMMIT]"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user