debug
CICD / Explore-Gitea-Actions (push) Failing after 1m2s
Details
CICD / Explore-Gitea-Actions (push) Failing after 1m2s
Details
This commit is contained in:
parent
99c9bb81fd
commit
0e8cc33177
|
|
@ -53,6 +53,9 @@ jobs:
|
||||||
- name: Sync to AWS
|
- name: Sync to AWS
|
||||||
run: |
|
run: |
|
||||||
paths=$(find ./public -type f -name "*.html" -print | sed 's|^./public/|\/|g' | sed 's/\n/ /g')
|
paths=$(find ./public -type f -name "*.html" -print | sed 's|^./public/|\/|g' | sed 's/\n/ /g')
|
||||||
|
echo "paths: $paths"
|
||||||
|
echo "----"
|
||||||
|
set -x
|
||||||
aws cloudfront create-invalidation --distribution-id EWYXMJ6L92Q6I --paths "$paths"
|
aws cloudfront create-invalidation --distribution-id EWYXMJ6L92Q6I --paths "$paths"
|
||||||
if: gitea.ref == 'refs/heads/main'
|
if: gitea.ref == 'refs/heads/main'
|
||||||
env: # Or as an environment variable
|
env: # Or as an environment variable
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue