Skip to content

Commit

Permalink
Fetch a working version of the aws cli
Browse files Browse the repository at this point in the history
  • Loading branch information
dpiparo committed Jan 23, 2025
1 parent 7733236 commit a896414
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install AWS CLI
run: |
python -m pip install --upgrade pip
pip install awscli==1.36.40
- name: Sync to S3
if: ${{ env.SHOULD_DEPLOY == 'true' }}
run: |
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/delete-deployed-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ jobs:
# PRs are only deployed if the PR branch is not in a fork
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
steps:

- name: Install AWS CLI
run: |
python -m pip install --upgrade pip
pip install awscli==1.36.40
- run: aws --endpoint-url https://s3.cern.ch s3 rm --recursive s3://root/${PR_NUMBER:?}
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down

0 comments on commit a896414

Please sign in to comment.