Skip to content

Commit

Permalink
tar instead of zipping
Browse files Browse the repository at this point in the history
  • Loading branch information
mki-c2c committed Jul 30, 2024
1 parent 44cc2bb commit 5278bb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci_bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
shell: bash
run: npm run build:lib:prod

- name: Zip prod library
- name: Tar prod library
shell: bash
run: zip -r bundle.zip bundle
run: tar -czvf bundle.tgz bundle

- name: upload manually
run: 'curl -X POST "https://uploads.github.com/repos/$owner/$repo/releases/$id/assets?name=bundle.zip" --header "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" -H "Content-Type: application/octet-stream" --data-binary "@bundle.zip"'
run: 'curl -X POST "https://uploads.github.com/repos/$owner/$repo/releases/$id/assets?name=bundle.tgz" --header "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" -H "Content-Type: application/octet-stream" --data-binary "@bundle.tgz"'
env:
owner: 'Geoportail-Luxembourg'
repo: 'luxembourg-geoportail'
Expand Down

0 comments on commit 5278bb4

Please sign in to comment.