Skip to content

Commit

Permalink
Update auto_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrykuku authored Apr 6, 2023
1 parent e646cd8 commit f634ee0
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/auto_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches:
- main
workflow_dispatch:

jobs:
releaser:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -37,6 +39,23 @@ jobs:
release-name: '${{ steps.date.outputs.date }}'
asset-name: 'linux-all-casaos-appstore.tar.gz'
file: './linux-all-casaos-appstore.tar.gz'

- name: Download main.zip
run: |
ls
wget -q -O main.zip https://github.com/IceWhaleTech/_appstore/archive/refs/heads/main.zip
- name: Upload to oss
id: upload_to_oss
uses: tvrcgo/upload-to-oss@master
with:
key-id: ${{ secrets.OSS_KEY_ID }}
key-secret: ${{ secrets.OSS_KEY_SECRET }}
region: oss-cn-shanghai
bucket: casaos
assets: |
./main.zip:/IceWhaleTech/CasaOS-UI/archive/refs/heads/main.zip
- name: install sshpass
run: sudo apt install sshpass --yes

Expand Down

0 comments on commit f634ee0

Please sign in to comment.