diff --git a/.github/workflows/build-react.yml b/.github/workflows/build-react.yml index 5d034422..0adec27f 100644 --- a/.github/workflows/build-react.yml +++ b/.github/workflows/build-react.yml @@ -28,15 +28,10 @@ jobs: working-directory: ./web_client run: npm run build - - name: Archive Build Folder - run: | - tar -czf cocktailberry_web_client.tar.gz -C web_client/dist . - echo "Created tar.gz archive of the build folder." - - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: cocktailberry_web_client.tar.gz + name: ./web_client/dist path: ./cocktailberry_web_client.tar.gz - name: Upload binaries to release @@ -44,6 +39,6 @@ jobs: uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: ./cocktailberry_web_client.tar.gz + file: ./web_client/dist asset_name: cocktailberry_web_client.tar.gz tag: ${{ github.event.release.tag_name }} \ No newline at end of file