diff --git a/.forgejo/workflows/ci-cd-beta.yml b/.forgejo/workflows/ci-cd-beta.yml index f428a8f..d523a71 100644 --- a/.forgejo/workflows/ci-cd-beta.yml +++ b/.forgejo/workflows/ci-cd-beta.yml @@ -40,8 +40,13 @@ jobs: name: dist path: dist + - name: Install AWS CLI + run: | + sudo apt-get update -y + sudo apt-get install -y awscli || (apt-get update -y && apt-get install -y awscli) + - name: Deploy to S3 run: aws s3 sync dist/ s3://${{ secrets.AWS_S3_BUCKET_BETA }} --delete - name: Invalidate CloudFront - run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_CLOUDFRONT_ID_BETA }} --paths "/*" + run: aws cloudfront create-invalidation --distribution-id E2AYEICRZKJ9TM --paths "/*"