From 76b177aea04c1f5452f21879264ba3cda319778f Mon Sep 17 00:00:00 2001 From: CorrectRoadH Date: Mon, 15 Jan 2024 14:06:59 +0800 Subject: [PATCH] feat: upload zip to GitHub pages (#382) --- .github/workflows/release.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2454a90d1..29fdc3018 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,5 +47,26 @@ jobs: assets: | /tmp/checksums.txt:/IceWhaleTech/CasaOS-AppStore/releases/download/${{ steps.get_version.outputs.VERSION }}/checksums.txt /tmp/linux-all-appstore-${{ github.ref_name }}.tar.gz:/IceWhaleTech/CasaOS-AppStore/releases/download/${{ steps.get_version.outputs.VERSION }}/linux-all-appstore-${{ github.ref_name }}.tar.gz + + - name: Upload to GitHub Pages + uses: actions/checkout@v4 + with: + repository: IceWhaleTech/icewhaletech.github.io + path: pages + + - name: Copy Files to Pages + run: | + cp /tmp/checksums.txt pages/checksums.txt + cp /tmp/linux-all-appstore-${{ github.ref_name }}.tar.gz pages/ + + - name: Commit and Push to Target Repository + working-directory: pages + run: | + git config user.name 'GitHub Action' + git config user.email 'a778917369@gmail.com' + git add . + git commit -m "Update app store zip" + git push +