Skip to content

Commit f0c3b76

Browse files
authored
Update publish.yml
1 parent 776c350 commit f0c3b76

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.github/workflows/publish.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
name: Serverless Devs Project CI/CD
1+
# name: Serverless Devs Project CI/CD
22

3-
on:
4-
push:
5-
branches: [master]
3+
# on:
4+
# push:
5+
# branches: [master]
66

7-
jobs:
8-
serverless-devs-cd:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-node@v2
13-
with:
14-
node-version: 12
15-
registry-url: https://registry.npmjs.org/
16-
# - uses: borales/[email protected]
17-
# with:
18-
# cmd: install
19-
- run: npm install -g @serverless-devs/s
20-
- run: s config add --AccountID ${{secrets.ALIYUN_ACCOUNT_ID}} --AccessKeyID ${{secrets.ALIYUN_ACCESS_KEY_ID}} --AccessKeySecret ${{secrets.ALIYUN_ACCESS_KEY_SECRET}} -a serverless-devs -f
21-
- name: deploy serverless devs
22-
env:
23-
ACCESS_KEY_ID: ${{secrets.ALIYUN_ACCESS_KEY_ID}}
24-
ACCESS_KEY_SECRET: ${{secrets.ALIYUN_ACCESS_KEY_ID}}
25-
run: s deploy --use-local -y --debug
7+
# jobs:
8+
# serverless-devs-cd:
9+
# runs-on: ubuntu-latest
10+
# steps:
11+
# - uses: actions/checkout@v2
12+
# - uses: actions/setup-node@v2
13+
# with:
14+
# node-version: 12
15+
# registry-url: https://registry.npmjs.org/
16+
# # - uses: borales/[email protected]
17+
# # with:
18+
# # cmd: install
19+
# - run: npm install -g @serverless-devs/s
20+
# - run: s config add --AccountID ${{secrets.ALIYUN_ACCOUNT_ID}} --AccessKeyID ${{secrets.ALIYUN_ACCESS_KEY_ID}} --AccessKeySecret ${{secrets.ALIYUN_ACCESS_KEY_SECRET}} -a serverless-devs -f
21+
# - name: deploy serverless devs
22+
# env:
23+
# ACCESS_KEY_ID: ${{secrets.ALIYUN_ACCESS_KEY_ID}}
24+
# ACCESS_KEY_SECRET: ${{secrets.ALIYUN_ACCESS_KEY_ID}}
25+
# run: s deploy --use-local -y --debug

0 commit comments

Comments
 (0)