-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (41 loc) · 1021 Bytes
/
generateHoneyJeans.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
name: Auto Generate Honey Jeans (Daliy)
on:
schedule:
- cron: '0 */8 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: main
- uses: actions/setup-node@v3
with:
node-version: 14.21.2
- run: npm cache clean -f
- run: npm ci
- run: npm run build
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
architecture: 'x64'
- name: Setup pip
run: |
python -m pip install --upgrade pip
pip install pytz
pip install requests
- name: PICK
run: |
python ./changeJSON.py
- name: Commits
run: |
git config --local user.email "ika7204@naver.com"
git config --local user.name "ika9810"
git add .
git commit -m "⚙️[GENERATE]Generate Daily HoneyJeans"
- name: Push
uses: ad-m/github-push-action@master
with:
branch: 'main'
github_token: $