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/
|
cp -v README.md /tmp/build/sysroot/var/lib/casaos/appstore/default.new/
|
||||||
pushd /tmp
|
pushd /tmp
|
||||||
tar zcvf linux-all-appstore-${{ github.ref_name }}.tar.gz build
|
tar zcvf linux-all-appstore-${{ github.ref_name }}.tar.gz build
|
||||||
|
zip -r linux-all-appstore.zip build
|
||||||
|
|
||||||
- uses: softprops/action-gh-release@v1
|
- uses: softprops/action-gh-release@v1
|
||||||
if: steps.build.outcome == 'success'
|
if: steps.build.outcome == 'success'
|
||||||
|
@ -53,7 +54,7 @@ jobs:
|
||||||
- name: Copy
|
- name: Copy
|
||||||
run: |
|
run: |
|
||||||
mkdir pages
|
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
|
- name: Pushes to another repository
|
||||||
uses: cpina/github-action-push-to-another-repository@main
|
uses: cpina/github-action-push-to-another-repository@main
|
||||||
|
@ -61,7 +62,7 @@ jobs:
|
||||||
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB2 }}
|
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB2 }}
|
||||||
with:
|
with:
|
||||||
source-directory: 'pages'
|
source-directory: 'pages'
|
||||||
destination-github-username: 'IceWhaleTech'
|
destination-github-username: 'CasaOS-AppStore'
|
||||||
destination-repository-name: 'icewhaletech.github.io'
|
destination-repository-name: 'casaos-appstore.github.io'
|
||||||
user-email: a778917369@gmail.com
|
user-email: a778917369@gmail.com
|
||||||
target-directory: ''
|
target-directory: 'casaos-appstore'
|
Loading…
Reference in New Issue