Skip to content

Commit ea00902

Browse files
committed
config: Pipeline test
1 parent a8e623f commit ea00902

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/CD.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,8 @@ jobs:
4040
- name: Install Serverless Framework
4141
run: sudo npm install -g serverless
4242

43-
- name: Install Serverless Framework
43+
- name: Install Serverless Plugins
44+
run: make install-serverless-plugins
45+
46+
- name: Deploy
4447
run: make install-serverless-plugins

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ install-dependencies-nodejs:
66
cd nodejs-functions ; pwd ; $(MAKE) install-dependencies-nodejs
77

88
install-serverless-plugins:
9-
serverless plugin install --name serverless-azure-functions
9+
cd nodejs-functions ; pwd ; make install-serverless-plugins
1010

1111
deploy-nodejs:
1212
cd nodejs-functions ; pwd ; $(MAKE) deploy

nodejs-functions/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@ sops-encrypt:
1313
sops -e -i ${SECRETS}
1414

1515
sops-decrypt:
16-
sops -d -i ${SECRETS}
16+
sops -d -i ${SECRETS}
17+
18+
install-serverless-plugins:
19+
serverless plugin install --name serverless-azure-functions

0 commit comments

Comments
 (0)