Skip to content

Commit

Permalink
Compress before uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
timmo001 committed Feb 19, 2021
1 parent ab27035 commit e59b925
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
echo "::error ::Could not determine platform for architecture ${{ matrix.architecture }}"
exit 1
fi
- name: 🏗 Login to GitHub Container Registry
- name: 🏗 Login to GitHub Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
Expand Down Expand Up @@ -159,15 +159,17 @@ jobs:
path: frontend/build
workflow: ci.yml
workflow_conclusion: success
- name: 🏗 Compress directories
run: |
tar -czvf home-panel-backend-lib.tar.gz backend/lib
tar -czvf home-panel-frontend-build.tar.gz frontend/build
- name: ⬆ Backend - Upload Artifacts to Release
uses: fnkr/github-action-ghr@v1
env:
GHR_COMPRESS: gz
GHR_PATH: backend/lib
GHR_PATH: home-panel-backend-lib.tar.gz
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: ⬆ Frontend - Upload Artifacts to Release
uses: fnkr/github-action-ghr@v1
env:
GHR_COMPRESS: gz
GHR_PATH: frontend/build
GHR_PATH: home-panel-frontend-build.tar.gz
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e59b925

Please sign in to comment.