Skip to content

Commit

Permalink
ci: download results when building website
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdoret committed Oct 25, 2024
1 parent c4094b5 commit 89e95d7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 70 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,17 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Download results
run: |
aws s3 cp \
s3://${AWS_BUCKET}/results.results.json \
website/data/sampleEval.json
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }}
AWS_BUCKET: ${{secrets.AWS_BUCKET }}

- name: Build website
run: python script.py

Expand Down
70 changes: 0 additions & 70 deletions website/data/sampleEval.json

This file was deleted.

0 comments on commit 89e95d7

Please sign in to comment.