Skip to content

Commit

Permalink
ci(release): upload assets
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksasiriski committed Aug 31, 2024
1 parent fcbed71 commit a5ab2d1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,16 @@ jobs:

# zip the build directory
- run: |
cd build/ && zip -r ../hearchco-frontend-build-aws.zip .
cd build/cloudfront && cp index.js hearchco_cf_index_aws.js . && cd ../..
cd build/lambda && zip -r hearchco_index_mjs_aws.zip . && cd ../..
cd build/s3 && zip -r hearchco_s3_assets_aws.zip . && cd ../..
# upload the build to the release
- uses: softprops/action-gh-release@v2
with:
files: hearchco-frontend-build-aws.zip
files: |
build/cloudfront/hearchco_cf_index_aws.js
build/lambda/hearchco_index_mjs_aws.zip
build/s3/hearchco_s3_assets_aws.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a5ab2d1

Please sign in to comment.