Skip to content

Commit

Permalink
docs: upt readme
Browse files Browse the repository at this point in the history
  • Loading branch information
afeiship committed Aug 4, 2023
1 parent 3e6748d commit 304d2dc
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,25 @@
name: deploy2cos workflow
on:
push:
branches:
- master
branches: master

jobs:
Release:
name: Release
runs-on: ubuntu-latest
env:
ACCESS_KEY_ID: ${{ secrets.ALIBABACLOUD_ACCESS_KEY_ID }}
ACCESS_KEY_SECRET: ${{ secrets.ALIBABACLOUD_ACCESS_KEY_SECRET }}
REGION: ${{ secrets.ALIBABACLOUD_REGION_ID }}
COS_YML: ${{ secrets.COS_YML }}


if: contains(github.event.head_commit.message, '__@production__')
steps:
- name: All in one
uses: afeiship/action-deploy2cos@master
with:
build_dist: "build"
oss_bucket: "oss://you-bucket/sub-path/assets/test-app-deploy2cos/"
oss_bucket: cos://your-cos/test/

- name: Debug
run: |
printenv
```

0 comments on commit 304d2dc

Please sign in to comment.