File tree Expand file tree Collapse file tree 2 files changed +409
-1
lines changed Expand file tree Collapse file tree 2 files changed +409
-1
lines changed Original file line number Diff line number Diff line change
1
+ version : 1
2
+ frontend :
3
+ phases :
4
+ preBuild :
5
+ commands :
6
+ - npm ci
7
+ build :
8
+ commands :
9
+ - npm run build
10
+ postBuild :
11
+ commands :
12
+ - echo "Send Slack notification"
13
+ - |
14
+ curl -H 'Content-Type: application/json' -X POST --data '{
15
+ "blocks": [
16
+ {
17
+ "type": "header",
18
+ "text": {
19
+ "text": ":rocket: New deployment",
20
+ "type": "plain_text",
21
+ "emoji": true
22
+ }
23
+ },
24
+ {
25
+ "type": "section",
26
+ "text": {
27
+ "type": "mrkdwn",
28
+ "text": ":globe_with_meridians: <https://docs.kinde.com|View site>"
29
+ }
30
+ },
31
+ {
32
+ "type": "section",
33
+ "text": {
34
+ "type": "mrkdwn",
35
+ "text": ":github: <https://github.com/kinde-oss/documentation/commit/'"$AWS_COMMIT_ID"'|View changes>"
36
+ }
37
+ }
38
+ ]
39
+ }' $SLACK_KINDE_DOCS_PR_WEBHOOK_URL
40
+ artifacts :
41
+ baseDirectory : dist
42
+ files :
43
+ - ' **/*'
44
+ cache :
45
+ paths :
46
+ - node_modules/**/*
You can’t perform that action at this time.
0 commit comments