feat: push zip to appstore github page (#391)
This commit is contained in:
parent
2fa60afb5e
commit
212f385315
|
@ -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'
|
Loading…
Reference in New Issue