From b78185ab37766da5feadeb5ad151631c4f93cad6 Mon Sep 17 00:00:00 2001 From: bdeshi Date: Fri, 17 May 2024 09:32:57 +0600 Subject: [PATCH] ci: fix publish cmds --- .woodpecker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index d544f53..595ba2d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -17,8 +17,8 @@ steps: - name: publish image: amazon/aws-cli:2.15.50 commands: - - s3 cp --recursive ./dist s3://$${S3_BUCKET}/ - - cloudfront create-invalidation --distribution-id $${CLOUDFRONT_DISTRIBUTION} --paths '/*' + - aws s3 cp --recursive ./dist s3://$${S3_BUCKET}/ + - aws cloudfront create-invalidation --distribution-id $${CLOUDFRONT_DISTRIBUTION} --paths '/*' secrets: - S3_BUCKET - CLOUDFRONT_DISTRIBUTION