feat: coscli use master #6
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: deploy2cos workflow | |
on: | |
push: | |
branches: master | |
jobs: | |
Release: | |
name: Release | |
runs-on: ubuntu-latest | |
env: | |
COS_SECRET_ID: ${{ secrets.COS_SECRET_ID }} | |
COS_SECRET_KEY: ${{ secrets.COS_SECRET_KEY }} | |
COS_BUCKET: ${{ secrets.COS_BUCKET }} | |
COS_REGION: ${{ secrets.COS_REGION }} | |
if: contains(github.event.head_commit.message, '__@production__') | |
steps: | |
- name: All in one | |
uses: afeiship/action-deploy2cos@master | |
with: | |
build_dist: "build" | |
oss_bucket: "cos://wms-dicfree-cn-1319335595/test/" | |
- name: Debug | |
run: | | |
printenv |