Skip to content

update-rates job schedule #624

update-rates job schedule

update-rates job schedule #624

Workflow file for this run

name: update-rates job schedule
on:
schedule: ## Schedule the job to run at 12.am daily.
- cron: "0 0 * * *"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
# Runs a single command using the runners shell
- name: Run a one-line script
run: ./update-rates.sh
- name: Commit and push
run: |
git config --global user.name 'update-rates.sh'
git config --global user.email '[email protected]'
git commit -am "update rates"
git push