Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gornostal committed Nov 13, 2022
1 parent 66cbf80 commit 6af5424
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish to Cloudfront
name: Build & Publish to Cloudfront

on:
push:
Expand Down Expand Up @@ -28,11 +28,11 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install awscli
- run: aws s3 sync _site s3://ulauncher.io --region us-east-1 --cache-control max-age=0 --acl public-read
- run: aws s3 sync _site s3://ulauncher.io --region us-east-1 --acl public-read
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Invalidate Cloudfront
- name: Invalidate Cloudfront distribution
run: aws cloudfront create-invalidation --distribution-id EUJKQR38BVSMX --paths "/*"
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down

0 comments on commit 6af5424

Please sign in to comment.