Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
RayWangQvQ committed May 9, 2021
1 parent cfff750 commit 397030d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/auto-deploy-tencent-scf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ jobs:
- name: clone local repository
uses: actions/checkout@v2
- name: install serverless
run: npm install -g serverless
run: sudo npm install -g serverless
- name: install dependency
run: npm install
run: sudo npm install
- name: build
run: npm build
run: sudo npm build
- name: deploy serverless
run: |
cd ./tencentScf
sls deploy --debug
sudo sls deploy --debug
env: # 环境变量
STAGE: dev #您的部署环境
SERVERLESS_PLATFORM_VENDOR: tencent #serverless海外默认为aws部署,配置为腾讯部署
Expand Down

0 comments on commit 397030d

Please sign in to comment.