Skip to content

Salary dataset update yearly #1

Salary dataset update yearly

Salary dataset update yearly #1

Workflow file for this run

name: Salary dataset update yearly
on:
workflow_dispatch:
schedule:
- cron: '0 0 1 1 *' # Every 1st Jan
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: install python packages
working-directory: ./salary
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: execute py script
working-directory: ./salary
run: python salary-yearly.py
env:
HOPSWORKS_API_KEY: ${{ secrets.HOPSWORKS_API_KEY }}