release asserts files cdn

This commit is contained in:
微凉
2021-11-05 19:03:54 +08:00
parent 11b141b190
commit e7071e1093
4 changed files with 37 additions and 23 deletions

View File

@ -47,18 +47,8 @@ jobs:
go install src.techknowlogick.com/xgo@latest
sudo apt install upx
- name: Build web
run: |
cd alist-web
yarn
yarn build
cd ..
- name: Build
run: |
cd alist
bash build.sh
cd ..
run: bash build.sh
- name: Upload artifact
uses: actions/upload-artifact@v2

View File

@ -46,18 +46,16 @@ jobs:
go install src.techknowlogick.com/xgo@latest
sudo apt install upx
- name: Build web
run: |
cd alist-web
yarn
yarn build
cd ..
- name: Build
run: |
cd alist
bash build.sh release
cd ..
run: bash build.sh release
- name: Upload asserts files
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.MY_TOKEN }}
branch: cdn
directory: alist-web
repository: https://github.com/Xhofe/alist-web
- name: Release
uses: softprops/action-gh-release@v1