Merge pull request #125 from ConchbrainClub/main #42
Workflow file for this run
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
name: Build | |
on: | |
push: | |
branches: [ "prod" ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/checkout@master | |
- uses: manyuanrong/setup-ossutil@v2.0 | |
with: | |
endpoint: "oss-cn-shenzhen.aliyuncs.com" | |
access-key-id: "${{ secrets.KEY_ID }}" | |
access-key-secret: "${{ secrets.SECRET_KEY }}" | |
- name: build and publish | |
run: bash ./.build.sh | |
- name: upload to oss | |
run: ossutil cp -rf ./MixApp.Shared/bin/Release/net8.0/publish/wwwroot oss://mixstore |