Skip to content

.github/workflows/get-now-fee.yml #3971

.github/workflows/get-now-fee.yml

.github/workflows/get-now-fee.yml #3971

Workflow file for this run

name: get-now-fee
on:
schedule:
- cron: "0 */4 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r nowFee-requirements.txt
- name: Run nowFee.py
run: |
python scripts/nowFee.py ${{secrets.FITCLOUD_ID}} ${{secrets.FITCLOUD_PASSWORD}}
- name: Commits
run: |
git config --local user.email "[email protected]"
git config --local user.name "hyeongrok7874"
git add nowFee.json
git commit -m "Auto update nowFee.json"
- name: Push
run: |
git push