Skip to content

Commit

Permalink
feat: upload zip to GitHub pages (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
CorrectRoadH authored Jan 15, 2024
1 parent ac99852 commit 76b177a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 76b177a

Please sign in to comment.