Auto Generate Honey Jeans (Daliy) #1404
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto Generate Honey Jeans (Daliy) | |
on: | |
schedule: | |
- cron: '0 9 * * *' | |
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: $ |