Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
derekmbrown committed Oct 12, 2024
1 parent 4f31b42 commit 3d28040
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: 'us-east-1'
- run: make upload
- run: npm run build
- run: aws s3 sync ./dist s3://derekbrown.io
- run: |
aws cloudfront create-invalidation \
--distribution-id ${{ secrets.AWS_CLOUDFRONT_DIST_ID }} \
--paths '/*' \
--no-cli-pager
- uses: lakuapik/gh-actions-http-status@v1
with:
sites: '["https://derekbrown.io", "https://www.derekbrown.io"]'
Expand Down

0 comments on commit 3d28040

Please sign in to comment.