Skip to content

Refresh Price

Refresh Price #13

Workflow file for this run

name: Refresh Price
on:
workflow_dispatch:
permissions:
contents: write
jobs:
update_ec2_price:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo gem install httpx
- name: Download price
run: |
ruby data/download.rb
ruby data/download_es.rb
ruby data/download_elasticache.rb
ruby data/download_msk.rb
ruby data/download_mq.rb
ruby data/download_rds.rb
ruby data/download_redshift.rb
ruby data/download_storage.rb
- name: Add new price data
run: |
git config --global user.name 'github-action'
git config --global user.email 'github-action@users.noreply.github.com'
git commit -am "re-fetch data"
git push