mirror of
https://github.com/EpicMorg/atlassian-json.git
synced 2025-01-14 07:38:15 +03:00
Update json-master.yml
This commit is contained in:
parent
9620afeb96
commit
1f647aeb66
21
.github/workflows/json-master.yml
vendored
21
.github/workflows/json-master.yml
vendored
@ -10,7 +10,7 @@ on:
|
||||
branches:
|
||||
- 'master'
|
||||
schedule:
|
||||
- cron: '0 0 * ? * *' # every hour
|
||||
- cron: '0 0-23 * * *' # every hour
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -19,3 +19,22 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Configure git
|
||||
run: |
|
||||
cd /json-backups
|
||||
ls -las
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "stamepicmorg@users.noreply.github.com"
|
||||
|
||||
- name: Update files
|
||||
run: |
|
||||
cd json-backups
|
||||
ls -las
|
||||
./update.sh
|
||||
|
||||
- name: Push updates
|
||||
run: |
|
||||
git add -A
|
||||
git commit -am "update"
|
||||
git push
|
||||
|
Loading…
x
Reference in New Issue
Block a user