Skip to content

Commit

Permalink
build: Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
nzdjb committed Dec 16, 2023
1 parent 1257dcf commit 0833dbe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
yarn exec -- static-site-generator --outFile dist/index.html
- uses: actions/upload-artifact@v3
with:
name: built
name: html
path: dist
build-style:
name: Build Style
Expand All @@ -23,7 +23,7 @@ jobs:
- run: cp static/style.css dist
- uses: actions/upload-artifact@v3
with:
name: built
name: style
path: dist
deploy:
name: Deploy
Expand All @@ -42,7 +42,6 @@ jobs:
aws-region: ${{ secrets.DEPLOY_REGION }}
- uses: actions/download-artifact@v4
with:
name: built
path: dist
- run: aws s3 sync dist/ s3://${{ secrets.DEPLOY_BUCKET }}
- run: aws cloudfront create-invalidation --distribution-id ${{ secrets.DEPLOY_DISTRIBUTION }} --paths '/*'

0 comments on commit 0833dbe

Please sign in to comment.