Skip to content

Workflow file for this run

on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
name: CDNBye Demo Deploy
steps:
- name: Checkout
uses: actions/checkout@v2
- name: remove .git
run: |
rm -rf .git
rm CNAME
# 使用云开发 Github Action 部署
- name: Deploy static to Tencent CloudBase
id: deployStatic
uses: TencentCloudBase/cloudbase-action@v1
with:
# 云开发的访问密钥 secretId 和 secretKey
secretId: ${{ secrets.SECRET_ID }}
secretKey: ${{ secrets.SECRET_KEY }}
# 云开发的环境id
envId: ${{ secrets.ENV_ID }}
# Github 项目静态文件的路径
staticSrcPath: ./
staticDestPath: demo