update
CICD / Explore-Gitea-Actions (push) Successful in 1m26s
Details
CICD / Explore-Gitea-Actions (push) Successful in 1m26s
Details
This commit is contained in:
parent
f455c88572
commit
0b6f9d8b61
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
- name: Sync to AWS
|
||||
run: |
|
||||
aws s3 cp --recursive ./ s3://freshbrewed.tech/
|
||||
if: gitea.base_ref == 'main'
|
||||
if: gitea.ref == 'refs/heads/main'
|
||||
env: # Or as an environment variable
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWSSECRETKEY }}
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWSSECRETID }}
|
||||
|
|
@ -43,7 +43,7 @@ jobs:
|
|||
- name: Sync to AWS
|
||||
run: |
|
||||
aws cloudfront create-invalidation --distribution-id EWYXMJ6L92Q6I --paths "/index.html"
|
||||
if: gitea.base_ref == 'main'
|
||||
if: gitea.ref == 'refs/heads/main'
|
||||
env: # Or as an environment variable
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWSSECRETKEY }}
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWSSECRETID }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue