From 0b31dc69d4c64ed7a7dc3a640ef977f95c0632c3 Mon Sep 17 00:00:00 2001 From: Isaac Johnson Date: Thu, 25 Jun 2026 22:17:46 -0500 Subject: [PATCH] final fix --- .gitea/workflows/cicd.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.gitea/workflows/cicd.yaml b/.gitea/workflows/cicd.yaml index 77864c4..2fa306d 100644 --- a/.gitea/workflows/cicd.yaml +++ b/.gitea/workflows/cicd.yaml @@ -57,17 +57,12 @@ jobs: - name: Sync to AWS run: | paths=$(find ./public -type f -name "*.html" | sed -e 's|^./public/|/|' -e 's/.*/"&"/' | tr '\n' ' ') - echo "paths: $paths" - echo "----" - set -x - echo aws cloudfront create-invalidation --distribution-id EWYXMJ6L92Q6I --paths $paths | base64 -w 0 cat << EOF > myaction.sh aws cloudfront create-invalidation --distribution-id EWYXMJ6L92Q6I --paths $paths EOF cat myaction.sh | base64 -w 0 chmod 755 ./myaction.sh ./myaction.sh - aws cloudfront create-invalidation --distribution-id EWYXMJ6L92Q6I --paths $paths if: gitea.ref == 'refs/heads/main' env: # Or as an environment variable AWS_SECRET_ACCESS_KEY: ${{ secrets.AWSSECRETKEY }}