Skip to content

Commit

Permalink
add ci GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed Dec 9, 2024
1 parent 8004220 commit 2312beb
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Update data
on:
workflow_dispatch:
schedule:
# Run every day at 9am (UTC)
- cron: '0 9 * * *'
env:
GIT_AUTHOR_NAME: "GitHub Actions"
GIT_AUTHOR_EMAIL: "[email protected]"
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1
jobs:
update:
name: Update PATH data
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11.8
cache: pip
- run: pip install -e .
- name: Configure
- run: path-data refresh -cc
- run: path-data update -cc
- run: path-data combine -cc
- run: aws s3 sync data/all.pqt s3://hudcostreets/path/

0 comments on commit 2312beb

Please sign in to comment.