-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (27 loc) · 803 Bytes
/
update-api.yml
File metadata and controls
31 lines (27 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Static Open API Kit CI
on:
#schedule: - cron: "0 0 * * *" #runs at 00:00 UTC everyday
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: execute py script
run: |
python ./scripts/example-nested.py
- name: commit created files and push
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add -A
git commit -m "static API JSON files updated"
git push