deploy #307
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
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: CDNBye OMS Deploy | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
# 使用云开发 Github Action 部署 | |
- name: Deploy static to Tencent CloudBase | |
id: deployStatic | |
uses: TencentCloudBase/[email protected] | |
with: | |
# 云开发的访问密钥 secretId 和 secretKey | |
secretId: ${{ secrets.SECRET_ID }} | |
secretKey: ${{ secrets.SECRET_KEY }} | |
# 云开发的环境id | |
envId: ${{ secrets.ENV_ID }} | |
# Github 项目静态文件的路径 | |
staticSrcPath: ./ | |
# staticDestPath: ./ |