-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: upload zip to GitHub pages (#382)
- Loading branch information
1 parent
ac99852
commit 76b177a
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 '[email protected]' | ||
git add . | ||
git commit -m "Update app store zip" | ||
git push | ||