Add member link #28
This file contains hidden or 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: Tencent Serverless | |
| on: | |
| push: | |
| branches: | |
| jobs: | |
| deploy: | |
| name: deploy serverless | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: clone local repository | |
| uses: actions/checkout@v3 | |
| - name: install serverless | |
| run: sudo npm i -g serverless-cloud-framework | |
| - name: install dependency | |
| run: npm install | |
| - name: build | |
| run: npm run docs:build | |
| - name: deploy serverless | |
| run: scf deploy --debug | |
| env: | |
| STAGE: dev | |
| SERVERLESS_PLATFORM_VENDOR: tencent | |
| TENCENT_SECRET_ID: ${{secrets.TENCENT_SECRET_ID}} | |
| TENCENT_SECRET_KEY: ${{secrets.TENCENT_SECRET_KEY}} |