Skip to content

Commit

Permalink
Merge pull request #20 from ruslanbay/main
Browse files Browse the repository at this point in the history
Fix the action
anuveyatsu authored Oct 6, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents f45593c + e284926 commit 4a27ed2
Showing 10 changed files with 691 additions and 36 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -3,41 +3,40 @@ on:
- cron: '0 1 * * *'
push:
branches:
- master

- main
permissions:
contents: write
jobs:
update:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4
- name: Build the data and create local changes
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: '3.6'
python-version: '3.11'
architecture: x64
cache: 'pip'
- name: Install requirements
run: |
pip install -r requirements.txt
- name: Process Data
run: |
python oil_prices_flow.py
- name: Commit files
- name: Commit and push files
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit --allow-empty -m "Auto-update of the data packages" -a
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
git push
deploy:
needs: update
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '8.x'
node-version: '20'
- run: npm install -g data-cli
- run: data --version
- run: data push
262 changes: 262 additions & 0 deletions data/brent-daily.csv
Original file line number Diff line number Diff line change
@@ -9219,3 +9219,265 @@ Date,Price
2023-09-14,95.2
2023-09-15,95.55
2023-09-18,95.95
2023-09-19,96.11
2023-09-20,94.56
2023-09-21,93.7
2023-09-22,93.99
2023-09-25,94.01
2023-09-26,94.46
2023-09-27,97.1
2023-09-28,96.64
2023-09-29,95.86
2023-10-02,91.21
2023-10-03,94.46
2023-10-04,89.83
2023-10-05,88.28
2023-10-06,87.86
2023-10-09,91.37
2023-10-10,90.7
2023-10-11,87.58
2023-10-12,88.4
2023-10-13,94.33
2023-10-16,90.99
2023-10-17,92.52
2023-10-18,91.99
2023-10-19,93.12
2023-10-20,93.72
2023-10-23,91.88
2023-10-24,88
2023-10-25,90.14
2023-10-26,88.45
2023-10-27,90.73
2023-10-30,90.73
2023-10-31,86.82
2023-11-01,86.92
2023-11-02,89.02
2023-11-03,87.55
2023-11-06,87.31
2023-11-07,83.43
2023-11-08,81.46
2023-11-09,81.74
2023-11-10,83.66
2023-11-13,84.09
2023-11-14,84.2
2023-11-15,82.4
2023-11-16,77.73
2023-11-17,81.22
2023-11-20,83.25
2023-11-21,82.42
2023-11-22,81.76
2023-11-23,80.85
2023-11-24,79.82
2023-11-27,79.49
2023-11-28,81.66
2023-11-29,82.98
2023-11-30,81.72
2023-12-01,78.72
2023-12-04,78.16
2023-12-05,77.27
2023-12-06,74.33
2023-12-07,74.21
2023-12-08,75.94
2023-12-11,75.75
2023-12-12,74.11
2023-12-13,74.14
2023-12-14,77.05
2023-12-15,76.84
2023-12-18,78.89
2023-12-19,79.82
2023-12-20,81.1
2023-12-21,80.73
2023-12-22,80.23
2023-12-27,80.97
2023-12-28,79.04
2023-12-29,77.69
2024-01-02,76.24
2024-01-03,77.18
2024-01-04,75.79
2024-01-05,78.31
2024-01-08,75.47
2024-01-09,77.97
2024-01-10,78.46
2024-01-11,80.21
2024-01-12,79.89
2024-01-15,79.76
2024-01-16,80.15
2024-01-17,78.88
2024-01-18,81.04
2024-01-19,80.71
2024-01-22,81.7
2024-01-23,82.04
2024-01-24,82.15
2024-01-25,82.33
2024-01-26,83.34
2024-01-29,83.99
2024-01-30,84.14
2024-01-31,82.98
2024-02-01,82.2
2024-02-02,79.54
2024-02-05,79.3
2024-02-06,80.46
2024-02-07,81.18
2024-02-08,83.01
2024-02-09,83.58
2024-02-12,83.88
2024-02-13,84.72
2024-02-14,84.41
2024-02-15,84.33
2024-02-16,84.88
2024-02-19,85.52
2024-02-20,84.78
2024-02-21,84.77
2024-02-22,85.84
2024-02-23,84.18
2024-02-26,84.01
2024-02-27,83.8
2024-02-28,84.08
2024-02-29,84.57
2024-03-01,84.82
2024-03-04,86.58
2024-03-05,85.82
2024-03-06,86.59
2024-03-07,84.88
2024-03-08,84.29
2024-03-11,83.44
2024-03-12,83.66
2024-03-13,83.95
2024-03-14,86.16
2024-03-15,85.39
2024-03-18,86.47
2024-03-19,87.36
2024-03-20,85.77
2024-03-21,84.92
2024-03-22,84.87
2024-03-25,86.18
2024-03-26,85.91
2024-03-27,84.94
2024-03-28,86.17
2024-04-02,87.63
2024-04-03,90.6
2024-04-04,90.32
2024-04-05,92.81
2024-04-08,91.73
2024-04-09,92.13
2024-04-10,91.57
2024-04-11,91.49
2024-04-12,93.12
2024-04-15,90.84
2024-04-16,91.29
2024-04-17,89.54
2024-04-18,88.34
2024-04-19,87.96
2024-04-22,87.3
2024-04-23,88.29
2024-04-24,89.02
2024-04-25,88.1
2024-04-26,89.95
2024-04-29,88.44
2024-04-30,88.23
2024-05-01,83.55
2024-05-02,84.81
2024-05-03,83.6
2024-05-07,82.69
2024-05-08,82.44
2024-05-09,83.27
2024-05-10,83.39
2024-05-13,83.18
2024-05-14,81
2024-05-15,79.98
2024-05-16,81.65
2024-05-17,82.24
2024-05-20,81.91
2024-05-21,81.22
2024-05-22,79.9
2024-05-23,79.25
2024-05-24,78.92
2024-05-28,81.34
2024-05-29,81.5
2024-05-30,81.42
2024-05-31,79.41
2024-06-03,76.45
2024-06-04,75.33
2024-06-05,75.41
2024-06-06,77.62
2024-06-07,78.12
2024-06-10,79.59
2024-06-11,80.15
2024-06-12,80.52
2024-06-13,81.44
2024-06-14,81.49
2024-06-17,82.45
2024-06-18,84.79
2024-06-19,85.64
2024-06-20,85.92
2024-06-21,86.42
2024-06-24,86.75
2024-06-25,86.81
2024-06-26,85.76
2024-06-27,87
2024-06-28,87.26
2024-07-01,86.57
2024-07-02,88.28
2024-07-03,88.25
2024-07-04,88.34
2024-07-05,88.66
2024-07-08,87.15
2024-07-09,86.48
2024-07-10,86.55
2024-07-11,86.49
2024-07-12,87.35
2024-07-15,86.42
2024-07-16,86.6
2024-07-17,85.76
2024-07-18,86.26
2024-07-19,85.19
2024-07-22,83.44
2024-07-23,82.2
2024-07-24,83.01
2024-07-25,82.58
2024-07-26,81.35
2024-07-29,80.94
2024-07-30,79.26
2024-07-31,81.39
2024-08-01,81.37
2024-08-02,78.35
2024-08-05,77.51
2024-08-06,76.62
2024-08-07,78.26
2024-08-08,80.76
2024-08-09,81.07
2024-08-12,83.06
2024-08-13,82.51
2024-08-14,82.15
2024-08-15,83.09
2024-08-16,81.56
2024-08-19,81.09
2024-08-20,78.85
2024-08-21,78.77
2024-08-22,78.8
2024-08-23,80.34
2024-08-27,81.51
2024-08-28,80.04
2024-08-29,81.55
2024-08-30,80.2
2024-09-02,77.82
2024-09-03,76.46
2024-09-04,74.67
2024-09-05,74.47
2024-09-06,72.82
2024-09-09,72.37
2024-09-10,70.34
2024-09-11,70.31
2024-09-12,73.81
2024-09-13,73.68
2024-09-16,73.96
2024-09-17,74.55
2024-09-18,74.52
2024-09-19,75.93
2024-09-20,75.96
2024-09-23,74.95
2024-09-24,75.29
2024-09-25,75.4
2024-09-26,73.06
2024-09-27,71.63
2024-09-30,72.35
13 changes: 13 additions & 0 deletions data/brent-monthly.csv
Original file line number Diff line number Diff line change
@@ -435,3 +435,16 @@ Date,Price
2023-06-15,74.84
2023-07-15,80.11
2023-08-15,86.15
2023-09-15,93.72
2023-10-15,90.6
2023-11-15,82.94
2023-12-15,77.63
2024-01-15,80.12
2024-02-15,83.48
2024-03-15,85.41
2024-04-15,89.94
2024-05-15,81.75
2024-06-15,82.25
2024-07-15,85.15
2024-08-15,80.36
2024-09-15,74.02
54 changes: 54 additions & 0 deletions data/brent-weekly.csv
Original file line number Diff line number Diff line change
@@ -1896,3 +1896,57 @@ Date,Price
2023-09-01,87.57
2023-09-08,91.29
2023-09-15,93.87
2023-09-22,94.86
2023-09-29,95.61
2023-10-06,90.33
2023-10-13,90.48
2023-10-20,92.47
2023-10-27,89.84
2023-11-03,88.21
2023-11-10,83.52
2023-11-17,81.93
2023-11-24,81.62
2023-12-01,80.91
2023-12-08,75.98
2023-12-15,75.58
2023-12-22,80.15
2023-12-29,79.23
2024-01-05,76.88
2024-01-12,78.4
2024-01-19,80.11
2024-01-26,82.31
2024-02-02,82.57
2024-02-09,81.51
2024-02-16,84.44
2024-02-23,85.02
2024-03-01,84.26
2024-03-08,85.63
2024-03-15,84.52
2024-03-22,85.88
2024-03-29,85.8
2024-04-05,90.34
2024-04-12,92.01
2024-04-19,89.59
2024-04-26,88.53
2024-05-03,85.73
2024-05-10,82.95
2024-05-17,81.61
2024-05-24,80.24
2024-05-31,80.92
2024-06-07,76.59
2024-06-14,80.64
2024-06-21,85.04
2024-06-28,86.72
2024-07-05,88.02
2024-07-12,86.8
2024-07-19,86.05
2024-07-26,82.52
2024-08-02,80.26
2024-08-09,78.84
2024-08-16,82.47
2024-08-23,79.57
2024-08-30,80.83
2024-09-06,75.25
2024-09-13,72.1
2024-09-20,74.98
2024-09-27,74.07
Loading

0 comments on commit 4a27ed2

Please sign in to comment.