Skip to content

Commit cd73589

Browse files
1eftyactions-bot
andauthored
Fix build (#18)
* Fix build * Updated README.md Co-authored-by: actions-bot <[email protected]>
1 parent 4be773a commit cd73589

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Makefile.ses

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ifndef CI
2-
NPM ?= docker run -it -v $(shell pwd)/lambda/:/code -w /code --entrypoint=npm node:8.10-alpine
2+
BUILD ?= docker run -it -v $(shell pwd)/lambda/:/code -w /code --entrypoint=npm node:10-alpine update --unsafe-perm=true --allow-root
33
else
4-
NPM ?= npm
4+
BUILD ?= cd lambda/ && npm update && cd ..
55
endif
66

77
# Ensures that a variable is defined
@@ -11,7 +11,7 @@ endef
1111

1212
## Build lambda package
1313
build:
14-
$(NPM) update
14+
$(BUILD)
1515
sudo chmod -R 777 lambda
1616
mkdir -p artifacts
1717
cd lambda && zip -r ../artifacts/lambda.zip *

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ Available targets:
152152
153153
```
154154
<!-- markdownlint-restore -->
155+
<!-- markdownlint-disable -->
155156
## Requirements
156157

157158
| Name | Version |
@@ -209,6 +210,7 @@ Available targets:
209210
| ses\_receipt\_rule\_name | The name of the SES receipt rule |
210211
| ses\_receipt\_rule\_set\_name | The name of the SES receipt rule set |
211212

213+
<!-- markdownlint-restore -->
212214

213215

214216

docs/terraform.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- markdownlint-disable -->
12
## Requirements
23

34
| Name | Version |
@@ -55,3 +56,4 @@
5556
| ses\_receipt\_rule\_name | The name of the SES receipt rule |
5657
| ses\_receipt\_rule\_set\_name | The name of the SES receipt rule set |
5758

59+
<!-- markdownlint-restore -->

0 commit comments

Comments
 (0)