Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,20 @@ jobs:
uses: actions/download-artifact@v4
with:
name: version
- name: Install specific AWS CLI version
run: |
echo "Installing AWS CLI version 2.22.28..."
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.22.28.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install --update
echo "Installed AWS CLI version: $(aws --version)"
- name: Deploy
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
BUCKET: ${{ secrets.BUCKET }}
run: |
version="$(cat version.txt)"
cat /etc/os-release
echo "Zainstalowana wersja AWS CLI: $(aws --version)"
mkdir "${version}"
cp prebid.js "${version}"/
release="${version}_$(date +"%Y%m%d%H%M%S")"
Expand Down
Loading