Created
July 22, 2022 19:37
-
-
Save cookie223/3f204dca6803f833c83c204759f1d980 to your computer and use it in GitHub Desktop.
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: price update | |
on: | |
schedule: | |
- cron: "00 04 * * *" | |
jobs: | |
price-update: | |
name: price update | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@master | |
- name: Set up Python3 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.7' | |
- uses: BSFishy/pip-action@v1 | |
with: | |
packages: | | |
beancount | |
git+https://github.com/beancount/beanprice.git | |
- run: PYTHONPATH=./sources:./plugins bean-price -v main.bean >> 2022/prices.bean | |
- name: Commit Changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: price updated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment