From 212f385315e3ca5a27671d348d015137c83dc023 Mon Sep 17 00:00:00 2001 From: CorrectRoadH Date: Mon, 15 Jan 2024 17:45:46 +0800 Subject: [PATCH] feat: push zip to appstore github page (#391) --- .github/workflows/release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2997207..81e8d47 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,7 @@ jobs: cp -v README.md /tmp/build/sysroot/var/lib/casaos/appstore/default.new/ pushd /tmp tar zcvf linux-all-appstore-${{ github.ref_name }}.tar.gz build + zip -r linux-all-appstore.zip build - uses: softprops/action-gh-release@v1 if: steps.build.outcome == 'success' @@ -53,7 +54,7 @@ jobs: - name: Copy run: | mkdir pages - cp /tmp/linux-all-appstore-${{ github.ref_name }}.tar.gz pages/ + cp linux-all-appstore.zip pages/linux-all-appstore.zip - name: Pushes to another repository uses: cpina/github-action-push-to-another-repository@main @@ -61,7 +62,7 @@ jobs: API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB2 }} with: source-directory: 'pages' - destination-github-username: 'IceWhaleTech' - destination-repository-name: 'icewhaletech.github.io' + destination-github-username: 'CasaOS-AppStore' + destination-repository-name: 'casaos-appstore.github.io' user-email: a778917369@gmail.com - target-directory: '' \ No newline at end of file + target-directory: 'casaos-appstore' \ No newline at end of file