feat: push zip to appstore github page (#391)

This commit is contained in:
CorrectRoadH 2024-01-15 17:45:46 +08:00 committed by GitHub
parent 2fa60afb5e
commit 212f385315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -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: ''
target-directory: 'casaos-appstore'