Skip to content

Commit

Permalink
chpt
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Dec 13, 2023
1 parent 9f69038 commit 68da1e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/_legacy-checkpoints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,14 @@ jobs:
path: ${{ env.legacy_dir }}/checkpoints/
retention-days: ${{ env.KEEP_DAYS }}

- run: pip install -r requirements/ci.txt
- name: Upload checkpoints to S3
working-directory: ${{ env.legacy_dir }}
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_PUB_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_PUB_SECRET_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }}
run: |
pip install -q -r requirements/ci.txt
aws s3 sync $AWS_RUN checkpoints/ s3://pl-public-data/legacy/checkpoints/
zip -r checkpoints.zip checkpoints
aws s3 cp $AWS_RUN checkpoints.zip s3://pl-public-data/legacy/ --acl public-read
Expand Down

0 comments on commit 68da1e3

Please sign in to comment.