Skip to content

Commit

Permalink
Merge pull request #469 from hearchco/as/ci/assets
Browse files Browse the repository at this point in the history
ci(release): upload assets
  • Loading branch information
aleksasiriski authored Aug 31, 2024
2 parents fcbed71 + a5ab2d1 commit 2842925
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 2842925

Please sign in to comment.