name: Willdaten fetching pipeline #on: # schedule: # - cron: "0 * * * *" # run hourly jobs: process_data: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - name: Set up Rust run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh PATH=$HOME/.cargo/bin:$PATH rustup toolchain install stable rustc --version cargo --version - name: Run the program run: cargo run --release --bin datafetcher env: DATABASE_URL: ${{ secrets.DATABASE_URL }} REQ: ${{ vars.WILLDATEN_REQ }} VRN_TOKEN: ${{ secrets.WILLDATEN_VRN_TOKEN }} STATIONS: ${{ vars.WILLDATEN_STATIONS }}